Skip to main content

TreeViewBuilder.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 TreeViewBuilder ItemHoldTimeout(
    double value
)

Parameters

Name Type Description
value Double

The option value.

Returns

Type Description
TreeViewBuilder

A reference to this instance after the method is called.

Remarks

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

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