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

TcxPanelStyle.CaptionIndent Property

Specifies the horizontal and vertical indents (in pixels) between a panel’s edges and caption.

#Declaration

Delphi
property CaptionIndent: Integer read; write; default 2;

#Property Value

Type Default
Integer 2

#Remarks

Use this property to adjust the position of the caption relative to the alignment edges specified via the Alignment property.

The following table shows examples of using the CaptionIndent property when the Alignment property is set to alTopLeft.

Value Example
2
10

Note that the CaptionIndent property has no effect if the caption is centered using the alCenterCenter alignment option.

The default value of the CaptionIndent property is 2.

See Also