BreakpointsLayoutCollection<T>.Add(BreakpointsLayoutDeviceSizes, Int32) Method
In This Article
Creates a new BreakpointsLayoutBreakpoint object with the specified settings and adds it to the collection.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public BreakpointsLayoutBreakpoint Add(
BreakpointsLayoutDeviceSizes deviceSize,
int itemsPerRow
)
#Parameters
Name | Type | Description |
---|---|---|
device |
Breakpoints |
A Breakpoints |
items |
Int32 | An integer value specifying the number of items the control displays in a row. |
#Returns
Type | Description |
---|---|
Breakpoints |
A Breakpoints |
#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