Kendo.Mvc.UI.Fluent.SliderBuilder

Defines the fluent API for configuring the Kendo UI Slider

Methods

DecreaseButtonTitle(System.String)

The title of the decrease button of the Slider.

Parameters

value System.String

The value for DecreaseButtonTitle

DragHandleTitle(System.String)

The title of the drag handle of the Slider.

Parameters

value System.String

The value for DragHandleTitle

IncreaseButtonTitle(System.String)

The title of the increase button of the Slider.

Parameters

value System.String

The value for IncreaseButtonTitle

LargeStep(System.Nullable<T>)

The delta with which the value will change when the user presses the Page Up or Page Down key (the drag handle must be focused). Note: largeStep will also set a large tick for every large step.Must be a positive number, larger than smallStep.

Parameters

value System.Nullable<T>

The value for LargeStep

Max(System.Nullable<T>)

The maximum value of the Slider.

Parameters

value System.Nullable<T>

The value for Max

Min(System.Nullable<T>)

The minimum value of the Slider.

Parameters

value System.Nullable<T>

The value for Min

ShowButtons(System.Boolean)

Can be used to show (true) or hide (false) the increase and decrease buttons of a Slider.

Parameters

value System.Boolean

The value for ShowButtons

SmallStep(System.Nullable<T>)

The small step value of the Slider. Must be a positive number, otherwise an Javascript exception will be thrown.The small step value determines the amount of Slider value change when the end user clicks on the increase or decrease buttons of the Slider;; presses the arrow keys (the drag handle must be focused); or drags the drag handle..

Parameters

value System.Nullable<T>

The value for SmallStep

Tooltip(System.Action<Kendo.Mvc.UI.Fluent.SliderTooltipSettingsBuilder<T>>)

Configuration of the Slider tooltip.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.SliderTooltipSettingsBuilder>

The configurator for the tooltip setting.

Value(System.Nullable<T>)

The underlying value of the Slider.

Parameters

value System.Nullable<T>

The value for Value

Orientation(Kendo.Mvc.UI.SliderOrientation)

The orientation of a Slider

Parameters

value Kendo.Mvc.UI.SliderOrientation

The value for Orientation

TickPlacement(Kendo.Mvc.UI.SliderTickPlacement)

Denotes the location of the tick marks in the Slider

Parameters

value Kendo.Mvc.UI.SliderTickPlacement

The value for TickPlacement

Events(System.Action<Kendo.Mvc.UI.Fluent.SliderEventBuilder>)

Configures the client-side events.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.SliderEventBuilder>

The client events action.

Example (ASPX)

@(Html.Kendo().Slider()
    .Name("Slider")
    .Events(events => events
        .Change("onChange")
    )
)