Table of Contents

Method GetResetColors

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

GetResetColors(ResetColorType, Control?, ControlRenderSizeVariant)

Gets IReadOnlyFontAndColor instance for the specified method.

public static IReadOnlyFontAndColor GetResetColors(ResetColorType method, Control? control = null, ControlRenderSizeVariant renderSize = ControlRenderSizeVariant.Normal)

Parameters

method ResetColorType

Type of the colors to get.

control Control

Control instance. Used when method is DefaultAttributes.

renderSize ControlRenderSizeVariant

Rendering size. Used when method is DefaultAttributesTextBox or other similar values. You can skip this parameter as on most os it is ignored.

Returns

IReadOnlyFontAndColor