New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI Slider component

Definition

Constructors

Initializes a new instance of the Slider<T> class.

C#
public Slider(ViewContext viewContext)
Parameters:viewContextViewContext

Properties

The title of the decrease button of the Slider.

C#
public string DecreaseButtonTitle { get; set; }

The title of the drag handle of the Slider.

C#
public string DragHandleTitle { get; set; }

The title of the increase button of the Slider.

C#
public string IncreaseButtonTitle { get; set; }

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.

C#
public T? LargeStep { get; set; }

Max

T?

The maximum value of the Slider.

C#
public T? Max { get; set; }

Min

T?

The minimum value of the Slider.

C#
public T? Min { get; set; }

The orientation of a Slider

C#
public SliderOrientation? Orientation { get; set; }

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

C#
public bool? ShowButtons { get; set; }

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..

C#
public T? SmallStep { get; set; }

Denotes the location of the tick marks in the Slider

C#
public SliderTickPlacement? TickPlacement { get; set; }

Configuration of the Slider tooltip.

C#
public SliderTooltipSettings<T> Tooltip { get; }

The underlying value of the Slider.

C#
public T? Value { get; set; }

Implements: IInputComponent<T>.Value

Methods

ProcessSettings method.

C#
public override void ProcessSettings()

Overrides: WidgetBase.ProcessSettings()

Serializes the component settings to a dictionary.

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

A dictionary of settings.

Overrides: WidgetBase.Serialize()

Implements: IFormEditor.Serialize()

SerializeSettings method.

C#
protected override Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>

Overrides: WidgetBase.SerializeSettings()

Writes the HTML content.

C#
protected override void WriteHtml(TextWriter writer)
Parameters:writerTextWriter

The text writer.

Overrides: WidgetBase.WriteHtml(TextWriter)

WriteInitializationScript method.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

Overrides: WidgetBase.WriteInitializationScript(TextWriter)