Table of Contents

Method AddFontNames

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

AddFontNames(ListControl, bool, string?)

Initializes ListControl with list of font names.

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

Parameters

control ListControl

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.