Skip to main content

TreeListRowDraggingBuilder.ScrollSpeed(Double) Method

Specifies the scrolling speed when dragging a row beyond the viewport. Applies only if autoScroll is true. Mirrors the client-side scrollSpeed option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TreeListRowDraggingBuilder ScrollSpeed(
    double value
)

Parameters

Name Type Description
value Double

The option value.

Returns

Type Description
TreeListRowDraggingBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().TreeList()
    .RowDragging(dragging => dragging
        .ScrollSpeed(10)
    )
)
See Also