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

TcxCustomLabelProperties.PenWidth Property

Specifies the width of the label’s caption outline.

#Declaration

Delphi
property PenWidth: Integer read; write; default 1;

#Property Value

Type Default
Integer 1

#Remarks

The PenWidth property defines the width of the outline when the Properties.LabelStyle is set to cxlsOutline.

The following images show two different PenWidth settings:

Value Meaning Picture
0 No outline.
2 Outline width is 2.

The default value of the PenWidth property is 1.

See Also