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

Specifies the depth of the label’s text shadow.

#Declaration

Delphi
property Depth: Word read; write; default 0;

#Property Value

Type Default
Word 0

#Remarks

Use the Depth property to specify the space between the label’s text and text shadow. When the Depth value is 0, no shadow is visible.

Text shadow appearance is determined by the Properties.LabelEffect property. Shadow position is provided by the Properties.Orientation property and the shadow color is specified by Properties.ShadowedColor.

The following images show different Depth property settings (Properties.LabelEffect is cxleCool):

Value Meaning Picture
0 (default) No shadow is visible.
5 Shadow depth is 5 pixels.
10 Shadow depth is 10 pixels.

The default value of the Depth property is 0.

See Also