Skip to main content

LinearGaugeRangeContainerRangeBuilder.StartValue(Double) Method

Specifies a start value of a range. Mirrors the client-side startValue option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public LinearGaugeRangeContainerRangeBuilder StartValue(
    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().StartValue(10);
        })
    )
)
See Also