Skip to main content
Tab

LayoutBreakpoints.Add(LayoutBreakpoint) Method

Adds the LayoutBreakpoint object to the collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public override void Add(
    LayoutBreakpoint layoutBreakpoint
)

Parameters

Name Type Description
layoutBreakpoint LayoutBreakpoint

A LayoutBreakpoint object.

Remarks

Creating a LayoutBreakpoint object implicitly declares a control’s width between 0 and the LayoutBreakpoint.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 LayoutBreakpoint.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