Back to Devexpress

DrawerBuilder.Position(DrawerPosition) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-drawerbuilder-dot-position-x28-devextreme-dot-aspnet-dot-mvc-dot-drawerposition-x29.md

latest1.3 KB
Original Source

DrawerBuilder.Position(DrawerPosition) Method

Specifies the drawer's position in relation to the view. Mirrors the client-side position option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public DrawerBuilder Position(
    DrawerPosition value
)

Parameters

NameTypeDescription
valueDrawerPosition

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()
    .Position(DrawerPosition.After)
)

See Also

DrawerBuilder Class

DrawerBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace