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

TcxCustomGroupBox.CaptionBkColor Property

Specifies the background color of the caption text.

#Declaration

Delphi
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