Skip to main content

TcxPanelStyle.CaptionIndent Property

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

Declaration

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