Skip to main content
A newer version of this page is available. .
Tab

LayoutBreakpoint.MaxWidth Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public int MaxWidth { get; set; }

Property Value

Type Description
Int32

An integer value specifying the maximum control width.

Remarks

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.

Concept

Adaptivity

Online Demo

Form Layout - Adaptive Grid Layout

See Also