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.v18.2.dll
Declaration
public BreakpointsLayoutBreakpoint Add(
BreakpointsLayoutDeviceSizes deviceSize,
int itemsPerRow
)
Parameters
Name | Type | Description |
---|---|---|
deviceSize | BreakpointsLayoutDeviceSizes | 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
Type | Description |
---|---|
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