SliderBuilder<T>
Defines the fluent interface for configuring the Slider<T>component.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class SliderBuilder<T> : WidgetBuilderBase<Slider<T>, SliderBuilder<T>>, IHtmlString where T : struct, IComparable
Inheritance: objectWidgetBuilderBase<Slider<T>, SliderBuilder<T>>SliderBuilder<T>
Implements:
Inherited Members
Constructors
Initializes a new instance of the SliderBuilder<T>class.
Methods
Sets the title of the slider decrease button.
public SliderBuilder<T> DecreaseButtonTitle(string title)
The decrease button title text.
Returns:Sets the title of the slider draghandle.
public SliderBuilder<T> DragHandleTitle(string title)
The draghandle title text.
Returns:Configures the client-side events.
public SliderBuilder<T> Events(Action<SliderEventBuilder> events)
The client events action.
Returns:Sets the title of the slider increase button.
public SliderBuilder<T> IncreaseButtonTitle(string title)
The increase button title text.
Returns:Sets the delta with which the value will change when user click on the slider.
public SliderBuilder<T> LargeStep(T value)
The large step value.
Returns:Sets the maximum value of the slider.
public SliderBuilder<T> Max(T value)
The maximum value.
Returns:Sets the minimum value of the slider.
public SliderBuilder<T> Min(T value)
The minimum value.
Returns:Sets orientation of the slider.
public SliderBuilder<T> Orientation(SliderOrientation orientation)
The orientation value.
Returns:Sets whether slider to be rendered with increase/decrease button.
public SliderBuilder<T> ShowButtons(bool? value)
The boolean value that controls the appearance of the increase and decrease buttons.
Returns:Sets the step with which the slider value will change.
public SliderBuilder<T> SmallStep(T value)
The small step value.
Returns:Sets a value indicating how to display the tick marks on the slider.
public SliderBuilder<T> TickPlacement(SliderTickPlacement tickPlacement)
The tick placement value.
Returns:Use it to configure tooltip.
public SliderBuilder<T> Tooltip(Action<SliderTooltipBuilder> action)
Use builder to set different tooltip options.
Returns:Display tooltip while drag.
public SliderBuilder<T> Tooltip(bool value)
The boolean value that disables or enables the tooltip.
Returns:Sets the value of the slider.
public SliderBuilder<T> Value(T? value)
The value of the component.
Returns: