Skip to main content

TcxCustomColorComboBoxProperties.ColorComboStyle Property

Specifies the color combo box reaction to user input.

Declaration

property ColorComboStyle: TcxColorComboStyle read; write; default cxccsComboEdit;

Property Value

Type Default
TcxColorComboStyle cxccsComboEdit

Remarks

Use the ColorComboStyle property to specify color combo box reaction to posting the color value. You can set the selected color via the ColorValue property. If this property designates a TColor value, which has no corresponding item within the color combo box Items collection, then the color combo box can react in two ways. The reaction itself is determined by the ColorComboStyle property value.

Property’s Value Meaning
cxccsComboList The color combo box can only navigate through the values stored within its Items property. If the color specified via the ColorValue property has no corresponding item within the color combo box, then no color is selected. The edit region of the color combo box displays the Properties.DefaultColor and Properties.DefaultDescription property values.
cxccsComboEdit If the color specified via the ColorValue property has no corresponding item within the color combo box, then this color appears within the edit region of the color combo box. The edit region of the color combo box displays the color sample with a description (this description depends on the Properties.NamingConvention property value).

The default value of the ColorComboStyle property is cxccsComboEdit.

See Also