Back to Devexpress

RangeSelectorBuilder.SelectedRangeUpdateMode(VisualRangeUpdateMode) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-rangeselectorbuilder-dot-selectedrangeupdatemode-x28-devextreme-dot-aspnet-dot-mvc-dot-visualrangeupdatemode-x29.md

latest1.5 KB
Original Source

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

csharp
public RangeSelectorBuilder SelectedRangeUpdateMode(
    VisualRangeUpdateMode value
)

Parameters

NameTypeDescription
valueVisualRangeUpdateMode

The option value.

|

Returns

TypeDescription
RangeSelectorBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().RangeSelector()
    .SelectedRangeUpdateMode(VisualRangeUpdateMode.Auto)
)

See Also

RangeSelectorBuilder Class

RangeSelectorBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace