Table of Contents

Method GetStaticDefaultFontAndColor

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

GetStaticDefaultFontAndColor(ControlTypeId, ControlRenderSizeVariant)

Gets control's default font and colors as IReadOnlyFontAndColor.

public static IReadOnlyFontAndColor GetStaticDefaultFontAndColor(ControlTypeId controlType, ControlRenderSizeVariant renderSize = ControlRenderSizeVariant.Normal)

Parameters

controlType ControlTypeId

Type of the control.

renderSize ControlRenderSizeVariant

Render size. Ignored on most operating systems.

Returns

IReadOnlyFontAndColor