Skip to main content

TdxLayoutSizeOptions.MaxHeight Property

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

Declaration

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