Back to Devexpress

DrawerBuilder.AnimationDuration(Double) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-drawerbuilder-dot-animationduration-x28-system-dot-double-x29.md

latest1.4 KB
Original Source

DrawerBuilder.AnimationDuration(Double) Method

Specifies the duration of the drawer's opening and closing animation (in milliseconds). Applies only if animationEnabled is true. Mirrors the client-side animationDuration option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public DrawerBuilder AnimationDuration(
    double value
)

Parameters

NameTypeDescription
valueDouble

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()
    .AnimationDuration(1000)
)

See Also

DrawerBuilder Class

DrawerBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace