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

TdxLayoutSizeOptions.MaxWidth Property

Specifies the maximum width of a layout item, in pixels.

#Declaration

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

#Property Value

Type Default
Integer 0

#Remarks

Use the MaxHeight and MaxWidth properties to limit the Height and Width property values, respectively. If the MaxWidth property is set to 0, the layout item’s width is limited only by its parent container’s width.

Note

The MaxWidth property value is ignored only if the following conditions are met:

  • The layout item is within a group whose LayoutDirection property is set to ldVertical.

  • The layout item’s AlignHorz property is set to avParentManaged or ahClient.

The MaxWidth property’s default value is 0.

See Also