Table of Contents

Method AddFontNames

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

AddFontNames(IListControl, bool, string?)

Initializes ListControl with list of font names.

public static void AddFontNames(IListControl control, bool select = true, string? defaultName = null)

Parameters

control IListControl

Control instance which items will be filled with font names.

select bool

Specifies whether to select default item in the control.

defaultName string

Select this font name in ListControl. If its null, name of the default font is used.