Skip to main content

BaseLayoutItem.MaxSize Property

Gets or sets the maximum size of the layout item.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

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