Skip to main content

RangeSelectorBehaviorBuilder.MoveSelectedRangeByClick(Boolean) Method

Indicates whether or not an end user can shift the selected range to the required location on a scale by clicking. Mirrors the client-side moveSelectedRangeByClick option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public RangeSelectorBehaviorBuilder MoveSelectedRangeByClick(
    bool value
)

Parameters

Name Type Description
value Boolean

The option value.

Returns

Type Description
RangeSelectorBehaviorBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().RangeSelector()
    .Behavior(behavior => behavior
        .MoveSelectedRangeByClick(true)
    )
)
See Also