Back to Devexpress

DrawerBuilder.OpenedStateMode(DrawerOpenedStateMode) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-drawerbuilder-dot-openedstatemode-x28-devextreme-dot-aspnet-dot-mvc-dot-draweropenedstatemode-x29.md

latest1.4 KB
Original Source

DrawerBuilder.OpenedStateMode(DrawerOpenedStateMode) Method

Specifies how the drawer interacts with the view in the opened state. Mirrors the client-side openedStateMode option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public DrawerBuilder OpenedStateMode(
    DrawerOpenedStateMode value
)

Parameters

NameTypeDescription
valueDrawerOpenedStateMode

The option value.

|

Returns

TypeDescription
DrawerBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().Drawer()
    .OpenedStateMode(DrawerOpenedStateMode.Overlap)
)

See Also

DrawerBuilder Class

DrawerBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace