LayoutControlItem.MaxSize Property
Gets or sets the layout item’s maximum size.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
Size | A |
Remarks
A layout item’s size can vary between the sizes determined by the LayoutControlItem.MinSize and MaxSize properties. If the Width or Height field of the MaxSize property is set to 0, the corresponding width/height is not limited.
By default, the LayoutControlItem.SizeConstraintsType property is set to Default. In this mode, the LayoutControlItem.MinSize and MaxSize properties are read-only and they specify predefined size constraints that are specific to the layout item’s control. You cannot change these properties in this mode.
You can modify size constraints in custom size constraints mode.
See the Size and Alignment topic for more information.