Skip to main content

BaseLayoutItem.MaxSize Property

Gets or sets the maximum size of the layout item.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public virtual Size MaxSize { get; set; }

Property Value

Type Description

A System.Drawing.Size structure that defines the item’s maximum width and height.


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