Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseLayoutItem.MaxSize Property

Gets or sets the maximum size of the layout item.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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