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

TdxLayoutLabeledItemCustomCaptionOptions.Width Property

Specifies the caption area’s width (in pixels).

#Declaration

Delphi
property Width: Integer read; write; default 0;

#Property Value

Type Default
Integer 0

#Remarks

The layout control automatically adjusts the width of items to fit their caption text. Assign a positive value to the Width property to explicitly define the width of a layout item caption. If the WordWrap property is set to True, the layout item shows the Text property value as multiple text lines when the text consists of multiple words and does not fit into the caption area.

Note

If the Width property is set to 0, the layout control automatically calculates the layout item width.

The Width property’s default value is 0.

See Also