Back to Devexpress

GalleryBuilder.AnimationDuration(Double) Method

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

latest1.3 KB
Original Source

GalleryBuilder.AnimationDuration(Double) Method

The time, in milliseconds, spent on slide animation. Mirrors the client-side animationDuration option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public GalleryBuilder AnimationDuration(
    double value
)

Parameters

NameTypeDescription
valueDouble

The option value.

|

Returns

TypeDescription
GalleryBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().Gallery()
    .AnimationDuration(1000)
)

See Also

GalleryBuilder Class

GalleryBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace