Skip to main content

RangeSelectorBuilder.Value(IEnumerable<Double>) Method

The selected range (initial or current). Equals the entire scale when not set. Mirrors the client-side value option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public RangeSelectorBuilder Value(
    IEnumerable<double> value
)

Parameters

Name Type Description
value IEnumerable<Double>

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()
    .Value(new double[] { 10, 20 })
)
See Also