Back to Devexpress

BreakpointsLayoutCollection<T>.Add(Int32, Int32) Method

aspnet-devexpress-dot-web-dot-breakpointslayoutcollection-1-dot-add-x28-system-dot-int32-system-dot-int32-x29.md

latest2.2 KB
Original Source

BreakpointsLayoutCollection<T>.Add(Int32, Int32) Method

Creates a new BreakpointsLayoutBreakpoint object with the specified settings and adds it to the collection.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public BreakpointsLayoutBreakpoint Add(
    int maxWidth,
    int itemsPerRow
)
vb
Public Function Add(
    maxWidth As Integer,
    itemsPerRow As Integer
) As BreakpointsLayoutBreakpoint

Parameters

NameTypeDescription
maxWidthInt32

An integer value specifying the maximum browser width.

| | itemsPerRow | Int32 |

An integer value specifying the number of items the control displays in a row.

|

Returns

TypeDescription
BreakpointsLayoutBreakpoint

A BreakpointsLayoutBreakpoint object that provides the breakpoint’s characteristics.

|

Remarks

Use the Add method to populate the BreakpointsLayoutCollection<T> objects with BreakpointsLayoutBreakpoint objects.

BreakpointsLayoutBreakpoint objects are used to specify a control items’ behavior at different breakpoints.

See Also

BreakpointsLayoutCollection<T> Class

BreakpointsLayoutCollection<T> Members

DevExpress.Web Namespace