Method GetResetColors
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
ResetColorTypeType of the colors to get.
control
ControlControl instance. Used when
method
is DefaultAttributes.renderSize
ControlRenderSizeVariantRendering size. Used when
method
is DefaultAttributesTextBox or other similar values. You can skip this parameter as on most os it is ignored.