Skip to main content

TcxCustomColorComboBoxProperties.ColorBoxFrameColor Property

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

Declaration

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