Skip to main content

TcxCustomGroupBox.CaptionBkColor Property

Specifies the background color of the caption text.

Declaration

property CaptionBkColor: TColor read; write;

Property Value

Type
TColor

Remarks

Use the CaptionBkColor property to change the background color of the caption text. The color of the actual text is controlled by the Font.Color property. You can also change the color of the control’s client area using the Color property. The image below shows an example of modifying these properties.

When the group box is painted in native style (the Style.LookAndFeel.NativeStyle property is set to True), you cannot change these settings, as the caption text colors are then controlled by the current Windows® theme.

The default value of the CaptionBkColor property is clBtnFace.

See Also