Back to Devexpress

TdxLayoutSizeOptions.MaxHeight Property

vcl-dxlayoutcontainer-dot-tdxlayoutsizeoptions-1954f76f.md

latest1.5 KB
Original Source

TdxLayoutSizeOptions.MaxHeight Property

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

Declaration

delphi
property MaxHeight: Integer read; write; default 0;

Property Value

TypeDefault
Integer0

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

TdxLayoutSizeOptions Class

TdxLayoutSizeOptions Members

dxLayoutContainer Unit