Skip to main content

RangeSelectorBuilder.SelectedRangeUpdateMode(VisualRangeUpdateMode) Method

Specifies how the selected range should behave when data is updated. Applies only when the RangeSelector is bound to a data source. Mirrors the client-side selectedRangeUpdateMode option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public RangeSelectorBuilder SelectedRangeUpdateMode(
    VisualRangeUpdateMode value
)

Parameters

Name Type Description
value VisualRangeUpdateMode

The option value.

Returns

Type Description
RangeSelectorBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().RangeSelector()
    .SelectedRangeUpdateMode(VisualRangeUpdateMode.Auto)
)
See Also