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

SliderBuilder

Defines the fluent API for configuring the Kendo UI Slider

Properties

WriteAction - Func

Methods

Tooltip(System.Boolean)

Parameters

value - System.Boolean

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)

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)

The maximum value of the Slider.

Parameters

value - System.Nullable<T>

The value for Max

Min(System.Nullable)

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)

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)

Configuration of the Slider tooltip.

Parameters

configurator - System.Action<SliderTooltipSettingsBuilder>

The configurator for the tooltip setting.

Value(System.Nullable)

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

The value for Orientation

TickPlacement(Kendo.Mvc.UI.SliderTickPlacement)

Denotes the location of the tick marks in the Slider

Parameters

value - SliderTickPlacement

The value for TickPlacement

Events(System.Action)

Configures the client-side events.

Parameters

configurator - System.Action<SliderEventBuilder>

The client events action.

Example


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

ToComponent()

Returns the internal view component.

Expression(System.String)

Sets the name of the component.

Parameters

modelExpression - System.String

Explorer(Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer)

Sets the name of the component.

Parameters

modelExplorer - Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer

Name(System.String)

Sets the name of the component.

Parameters

componentName - System.String

The name.

Deferred(System.Boolean)

Suppress initialization script rendering. Note that this options should be used in conjunction with

Parameters

deferred - System.Boolean

HtmlAttributes(System.Object)

Sets the HTML attributes.

Parameters

attributes - System.Object

The HTML attributes.

HtmlAttributes(System.Collections.Generic.IDictionary)

Sets the HTML attributes.

Parameters

attributes - System.Collections.Generic.IDictionary<String,Object>

The HTML attributes.

Render()

Renders the component in place.

ToHtmlString()

WriteTo(System.IO.TextWriter,System.Text.Encodings.Web.HtmlEncoder)

Parameters

writer - System.IO.TextWriter
encoder - System.Text.Encodings.Web.HtmlEncoder

ToClientTemplate()

In this article
Not finding the help you need?