Table of Contents

Method AddFontNamesAndSelect

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

AddFontNamesAndSelect(bool, string?)

Adds font names to the associated list control and optionally selects a specified font name.

public virtual void AddFontNamesAndSelect(bool select = false, string? fontName = null)

Parameters

select bool

true to select the specified font name after adding it to the list; otherwise, false.

fontName string

The name of the font to add and optionally select. If fontName is null, the default font name is used.

Remarks

If select is true, value property is updated to the specified font name.