Method AddFontNames
AddFontNames(IListControl, bool, string?)
Initializes ListControl with list of font names.
public static void AddFontNames(IListControl control, bool select = true, string? defaultName = null)
Parameters
control
IListControlControl instance which items will be filled with font names.
select
boolSpecifies whether to select default item in the control.
defaultName
stringSelect this font name in ListControl. If its
null
, name of the default font is used.