Skip to main content

LinearGaugeRangeContainerRangeBuilder.EndValue(Double) Method

Specifies an end value of a range. Mirrors the client-side endValue option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public LinearGaugeRangeContainerRangeBuilder EndValue(
    double value
)

Parameters

Name Type Description
value Double

The option value.

Returns

Type Description
LinearGaugeRangeContainerRangeBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().LinearGauge()
    .RangeContainer(container => container
        .Ranges(ranges => {
            ranges.Add().EndValue(10);
        })
    )
)
See Also