Skip to main content

GalleryBuilder.ItemHoldTimeout(Double) Method

The time period in milliseconds before the onItemHold event is raised. Mirrors the client-side itemHoldTimeout option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public GalleryBuilder ItemHoldTimeout(
    double value
)

Parameters

Name Type Description
value Double

The option value.

Returns

Type Description
GalleryBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().Gallery()
    .ItemHoldTimeout(1000)
)
See Also