Skip to main content

ResponsiveBoxItemsLocationBuilder.Rowspan(Int32) Method

Specifies how many rows the element should span. Mirrors the client-side rowspan option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ResponsiveBoxItemsLocationBuilder Rowspan(
    int value
)

Parameters

Name Type Description
value Int32

The option value.

Returns

Type Description
ResponsiveBoxItemsLocationBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().ResponsiveBox()
    .Items(items => {
        items.Add().Location(location => {
            location.Add().Rowspan(10);
        });
    })
)
See Also