Table of Contents

Method AddFontNames

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

AddFontNames(ComboBox, bool, string?)

Initializes ComboBox with list of font names.

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

Parameters

control ComboBox

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 ComboBox. If its null, name of the default font is used.

AddFontNames(BaseCollection<ListControlItem>)

Adds font names to the specified collection.

public static void AddFontNames(BaseCollection<ListControlItem> items)

Parameters

items BaseCollection<ListControlItem>