SliderBuilder<T>
Defines the fluent API for configuring the Kendo UI Slider
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class SliderBuilder<T> : WidgetBuilderBase<Slider<T>, SliderBuilder<T>>, IHtmlContent where T : struct, IComparable
Inheritance: objectHelperResultWidgetBuilderBase<Slider<T>, SliderBuilder<T>>SliderBuilder<T>
Implements:
Inherited Members
Constructors
Initializes a new instance of the SliderBuilder<T> class.
Methods
The title of the decrease button of the Slider.
public SliderBuilder<T> DecreaseButtonTitle(string value)
The value for DecreaseButtonTitle
Returns:Returns the current SliderBuilder<T> instance.
The title of the drag handle of the Slider.
public SliderBuilder<T> DragHandleTitle(string value)
The value for DragHandleTitle
Returns:Returns the current SliderBuilder<T> instance.
Configures the client-side events.
public SliderBuilder<T> Events(Action<SliderEventBuilder> configurator)
The client events action.
Returns:Returns the current SliderBuilder<T> instance.
The title of the increase button of the Slider.
public SliderBuilder<T> IncreaseButtonTitle(string value)
The value for IncreaseButtonTitle
Returns:Returns the current SliderBuilder<T> instance.
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.
public SliderBuilder<T> LargeStep(T? value)
The value for LargeStep
Returns:Returns the current SliderBuilder<T> instance.
The maximum value of the Slider.
public SliderBuilder<T> Max(T? value)
The value for Max
Returns:Returns the current SliderBuilder<T> instance.
The minimum value of the Slider.
public SliderBuilder<T> Min(T? value)
The value for Min
Returns:Returns the current SliderBuilder<T> instance.
The orientation of a Slider
public SliderBuilder<T> Orientation(SliderOrientation value)
The value for Orientation
Returns:Returns the current SliderBuilder<T> instance.
Can be used to show (true) or hide (false) the increase and decrease buttons of a Slider.
public SliderBuilder<T> ShowButtons(bool value)
The value for ShowButtons
Returns:Returns the current SliderBuilder<T> instance.
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..
public SliderBuilder<T> SmallStep(T? value)
The value for SmallStep
Returns:Returns the current SliderBuilder<T> instance.
Denotes the location of the tick marks in the Slider
public SliderBuilder<T> TickPlacement(SliderTickPlacement value)
The value for TickPlacement
Returns:Returns the current SliderBuilder<T> instance.
Configuration of the Slider tooltip.
public SliderBuilder<T> Tooltip(Action<SliderTooltipSettingsBuilder<T>> configurator)
The SliderTooltipSettingsBuilder<T> for the tooltip setting.
Returns:Returns the current instance of SliderBuilder<T> .
Display tooltip while drag.
public SliderBuilder<T> Tooltip(bool value)
The boolean value that disables or enables the tooltip.
Returns:Returns the current SliderBuilder<T> instance.
The underlying value of the Slider.
public SliderBuilder<T> Value(T? value)
The value for Value
Returns:Returns the current SliderBuilder<T> instance.