LayoutBreakpoint.MaxWidth Property

Specifies the maximum control width at which it rearranges its items.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll


public int MaxWidth { get; set; }

Property Value

Type Description

An integer value specifying the maximum control width.


Creating a LayoutBreakpoint object implicitly declares a control’s width between 0 and the MaxWidth property value (if there are no breakpoints with a lower MaxWidth property value) where the Form Layout arranges its items in a specified number of columns (LayoutBreakpoint.ColumnCount). The Form Layout item’s SpanRule object specifies the number of columns (SpanRule.ColumnSpan) and rows (SpanRule.RowSpan) the layout item occupies until the control’s width reaches the MaxWidth property of a given LayoutBreakpoint object. The SpanRule.BreakpointName property specifies the span rule’s breakpoint identifier.



Online Demo

Form Layout - Adaptive Grid Layout

See Also