Skip to main content

TcxCustomColorComboBox.ColorValue Property

Specifies the selected color.

Declaration

property ColorValue: TColor read; write;

Property Value

Type
TColor

Remarks

Use the ColorValue property to set or obtain the currently selected color. Setting this property to a specific color forces the editor to select the item representing this color. If there is no item with the specified color, the behavior of the color combo box is determined by the ColorComboStyle property. You can also use this property to obtain the currently selected color. For instance, you can handle the Properties.OnChange event and read the ColorValue property value to assign the currently selected color to a target control.

The default value of the Color property is clWindow.

See Also