Back to Devexpress

DraggableBuilder.ScrollSpeed(Double) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-draggablebuilder-dot-scrollspeed-x28-system-dot-double-x29.md

latest1.3 KB
Original Source

DraggableBuilder.ScrollSpeed(Double) Method

Specifies the scrolling speed when dragging an item 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

csharp
public DraggableBuilder ScrollSpeed(
    double value
)

Parameters

NameTypeDescription
valueDouble

The option value.

|

Returns

TypeDescription
DraggableBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().Draggable()
    .ScrollSpeed(10)
)

See Also

DraggableBuilder Class

DraggableBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace