Skip to main content

TdxLayoutLabeledItemCustomCaptionOptions.Width Property

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

Declaration

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