WidgetFactory<TModel>.Slider() Method

Creates a Slider control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public SliderBuilder Slider()

Returns

Type Description
SliderBuilder

An instance of SliderBuilder.

Remarks

This method creates a SliderBuilder class instance whose members can be used to specify Slider options.

@(Html.DevExtreme().Slider() // create a Slider
    // call methods to specify control options
)
See Also