Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomColorComboBox.ColorValue Property

Specifies the selected color.

#Declaration

Delphi
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