BaseLayoutItem.MaxSize Property

Gets or sets the maximum size of the layout item.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

[DXCategory("Layout")]
public virtual Size MaxSize { get; set; }
<DXCategory("Layout")>
Public Overridable Property MaxSize As Size

Property Value

Type Description
Size

A Size structure that defines the item's maximum width and height.

Remarks

Use the MaxSize property to change the layout item's maximum allowed size. The MaxSize and BaseLayoutItem.MinSize properties determine the boundaries that the item's size can vary by. To set the item's size use the BaseLayoutItem.Size property.

See Size and Alignment to learn more.

See Also