Back to Devexpress

ResponsiveBoxBuilder.SingleColumnScreen(String) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-responsiveboxbuilder-dot-singlecolumnscreen-x28-system-dot-string-x29.md

latest1.5 KB
Original Source

ResponsiveBoxBuilder.SingleColumnScreen(String) Method

Specifies on which screens all layout elements should be arranged in a single column. Accepts a single or several size qualifiers separated by a space. Mirrors the client-side singleColumnScreen option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public ResponsiveBoxBuilder SingleColumnScreen(
    string value
)

Parameters

NameTypeDescription
valueString

The option value.

|

Returns

TypeDescription
ResponsiveBoxBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().ResponsiveBox()
    .SingleColumnScreen("md")
)

See Also

ResponsiveBoxBuilder Class

ResponsiveBoxBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace