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

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

#Declaration

Delphi
property MaxHeight: 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 MaxHeight property is set to 0, the layout item’s height is limited only by its parent container’s height.

Note

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

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

  • The layout item’s AlignVert property is set to avParentManaged or avClient.

The MaxHeight property’s default value is 0.

See Also