Back to Devexpress

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

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

latest2.4 KB
Original Source

BreakpointsLayoutCollection<T>.Add(BreakpointsLayoutDeviceSizes, 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(
    BreakpointsLayoutDeviceSizes deviceSize,
    int itemsPerRow
)
vb
Public Function Add(
    deviceSize As BreakpointsLayoutDeviceSizes,
    itemsPerRow As Integer
) As BreakpointsLayoutBreakpoint

Parameters

NameTypeDescription
deviceSizeBreakpointsLayoutDeviceSizes

A BreakpointsLayoutDeviceSizes object specifying the device size (“Small”, “Medium”, “Large”).

| | 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