Method GetResetColors
GetResetColors(ResetColorType, AbstractControl?, ControlRenderSizeVariant)
Gets IReadOnlyFontAndColor instance for the specified
method.
public static IReadOnlyFontAndColor GetResetColors(ResetColorType method, AbstractControl? control = null, ControlRenderSizeVariant renderSize = ControlRenderSizeVariant.Normal)
Parameters
methodResetColorTypeType of the colors to get.
controlAbstractControlControl instance. Used when
methodis DefaultAttributes.renderSizeControlRenderSizeVariantRendering size. Used when
methodis DefaultAttributesTextBox or other similar values. You can skip this parameter as on most os it is ignored.