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.BorderWidth Property

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

#Declaration

Delphi
property BorderWidth: TBorderWidth read; write; default 0;

#Property Value

Type Default
TBorderWidth 0

#Remarks

Use this property to adjust the position of the content aligned within the panel, as specified by the Align property.

The following table shows examples of using the BorderWidth property for a panel containing a group box whose Align property is set to alClient.

Value Example
0
15

The default value of the BorderWidth property is 0.

See Also