Method AddFontNames
AddFontNames(ComboBox, bool, string?)
Initializes ComboBox with list of font names.
public static void AddFontNames(ComboBox control, bool select = true, string? defaultName = null)
Parameters
controlComboBoxControl instance which items will be filled with font names.
selectboolSpecifies whether to select default item in the control.
defaultNamestringSelect 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
itemsBaseCollection<ListControlItem>