Skip to main content
Tab

SplitterPane.MaxSize Property

Gets or sets the pane’s maximum size.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(typeof(Unit), "")]
public Unit MaxSize { get; set; }

Property Value

Type Default Description
Unit String.Empty

A Unit structure that defines the pane’s maximum size (either width or height, depending upon the pane orientation).

Remarks

If pane resizing is allowed (via the ASPxSplitter.AllowResize and SplitterPane.AllowResize properties), end-users can change an individual pane’s size (which can be initially defined via the SplitterPane.Size property), by dragging pane separators. You can use a pair of the SplitterPane.MinSize and MaxSize methods to specify pane size constraints, limiting the pane resizing capability of end-users.

Use the MaxSize property to specify the maximum size to which an end-user can resize a pane. The MaxSize property specifies the height for the panes which are stacked vertically within their container (a parent pane of a splitter control), and the width - for horizontally stacked panes.

See Also