Skip to main content

BaseLayoutItem.MaxSize Property

Gets or sets the maximum size of the layout item.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

Declaration

[DXCategory("Layout")]
public virtual Size MaxSize { get; set; }

Property Value

Type Description
Size

A System.Drawing.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