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