RangeSelectorBuilder.SelectedRangeUpdateMode(VisualRangeUpdateMode) Method
In This Article
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
C#
public RangeSelectorBuilder SelectedRangeUpdateMode(
VisualRangeUpdateMode value
)
#Parameters
Name | Type | Description |
---|---|---|
value | Visual |
The option value. |
#Returns
Type | Description |
---|---|
Range |
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