Method AddFontNamesAndSelect
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
selectbooltrue to select the specified font name after adding it to the list; otherwise, false.
fontNamestringThe name of the font to add and optionally select. If
fontNameis null, the default font name is used.
Remarks
If select is true,
value property is updated to the specified font name.