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

TcxCustomColorComboBoxProperties.ColorBoxFrameColor Property

Specifies the color of the border painted around color boxes within color combo box items.

#Declaration

Delphi
property ColorBoxFrameColor: TColor read; write; default clBtnShadow;

#Property Value

Type Default
TColor clBtnShadow

#Remarks

By default, a single line border is painted around each item’s color box. You can change the color of this border using the ColorBoxFrameColor property. Note: if this property is set to the same color as the Style.Color property of the control, no border is displayed. (The Style.Color property specifies the background color of the editor in the normal state.) However, when no border is displayed, color boxes may merge with the control’s background color.

The images below show samples of the color combo box’s appearance when ColorBoxFrameColor is set to different values.

The default value of the ColorBoxFrameColor property is clBtnShadow.

See Also