Skip to main content

FormItemEditorFactory.RangeSlider() Method

Creates a RangeSlider control that is used as a form item’s editor.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public RangeSliderBuilder RangeSlider()

Returns

Type Description
RangeSliderBuilder

An instance of RangeSliderBuilder.

Remarks

@(Html.DevExtreme().Form()
    .Items(items => {
        items.AddSimple()
            .Editor(e => e.RangeSlider()
                // call methods in a chain to customize the control
            );
    })
)
See Also