Method AddColorNames
AddColorNames(ListControl, bool, Color?, bool)
Initializes ListControl with list of known color names (Web and Standard colors are used).
public static void AddColorNames(ListControl control, bool select = true, Color? defaultValue = null, bool onlyVisible = true)
Parameters
control
ListControlControl instance which items will be filled with color names.
select
boolSpecifies whether to select default item in the control.
defaultValue
ColorSelect this color name in ListControl.
onlyVisible
boolWhether to process only colors which are visible to the end-user. Optional. Default is True.