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

TdxCustomLayoutItem.Height Property

Specifies the layout element’s height, in pixels.

#Declaration

Delphi
property Height: Integer read; write;

#Property Value

Type
Integer

#Remarks

The layout element height depends on the following conditions:

  • The layout element height cannot exceed the parent container’s height. The layout element’s height never exceeds the layout control’s content height.

  • The height of nested layout elements proportionally adjusts according to the height of the parent container whose LayoutDirection property is set to ldVertical, and the AlignVert property of the nested layout elements is set to avClient.

If the Height property is set to 0, the layout element’s height is calculated automatically. In this case, you can use the SizeOptions.MaxHeight property to limit the maximum layout element height.

Note

The Height property maps to the SizeOptions.Height property.

The Height property’s default value is 0.

See Also