Back to Devexpress

GalleryBuilder.SlideshowDelay(Double) Method

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

latest1.3 KB
Original Source

GalleryBuilder.SlideshowDelay(Double) Method

The time interval in milliseconds, after which the gallery switches to the next item. Mirrors the client-side slideshowDelay option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public GalleryBuilder SlideshowDelay(
    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()
    .SlideshowDelay(10)
)

See Also

GalleryBuilder Class

GalleryBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace