Skip to main content
All docs
V24.2

VisualRangeBuilder.Length(Double) Method

The range's length. Mirrors the client-side length option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public VisualRangeBuilder Length(
    double value
)

Parameters

Name Type Description
value Double

The option value.

Returns

Type Description
VisualRangeBuilder

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(value => value
        .Length(10)
    )
)
See Also