Method GetStaticDefaultFontAndColor
GetStaticDefaultFontAndColor(ControlTypeId, ControlRenderSizeVariant)
Gets control's default font and colors as IReadOnlyFontAndColor.
public static IReadOnlyFontAndColor GetStaticDefaultFontAndColor(ControlTypeId controlType, ControlRenderSizeVariant renderSize = ControlRenderSizeVariant.Normal)
Parameters
controlType
ControlTypeIdType of the control.
renderSize
ControlRenderSizeVariantRender size. Ignored on most operating systems.