Skip to main content

DraggableBuilder.ScrollSensitivity(Double) Method

Specifies the distance in pixels from the edge of viewport at which scrolling should start. Applies only if autoScroll is true. Mirrors the client-side scrollSensitivity option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public DraggableBuilder ScrollSensitivity(
    double value
)

Parameters

Name Type Description
value Double

The option value.

Returns

Type Description
DraggableBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().Draggable()
    .ScrollSensitivity(10)
)
See Also