RangeSliderBuilder

Properties

WriteAction - Func

Methods

Values(System.Nullable,System.Nullable)

Sets the value of the range slider.

Parameters

selectionStart - System.Nullable<T>

The start value of the range slider.

selectionEnd - System.Nullable<T>

The end value of the range slider.

RETURNS

Returns the current RangeSliderBuilder instance.

Values(Kendo.Mvc.UI.Fluent.T[])

Parameters

range - T[]

Tooltip(System.Boolean)

Enables the tooltip for the range slider.

Parameters

value - System.Boolean

RETURNS

Returns the current RangeSliderBuilder instance.

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: The allied largeStep will also set large tick for every large step.

Parameters

value - System.Nullable<T>

The value for LargeStep

RETURNS

Returns the current RangeSliderBuilder instance.

LeftDragHandleTitle(System.String)

The title of the left drag handle of the RangeSlider.

Parameters

value - System.String

The value for LeftDragHandleTitle

RETURNS

Returns the current RangeSliderBuilder instance.

Max(System.Nullable)

The maximum value of the RangeSlider.

Parameters

value - System.Nullable<T>

The value for Max

RETURNS

Returns the current RangeSliderBuilder instance.

Min(System.Nullable)

The minimum value of the RangeSlider.

Parameters

value - System.Nullable<T>

The value for Min

RETURNS

Returns the current RangeSliderBuilder instance.

Orientation(Kendo.Mvc.UI.SliderOrientation)

The orientation of a RangeSlider - "horizontal" or "vertical".

Parameters

value - SliderOrientation

The value for Orientation

RETURNS

Returns the current RangeSliderBuilder instance.

RightDragHandleTitle(System.String)

The title of the right drag handle of the RangeSlider.

Parameters

value - System.String

The value for RightDragHandleTitle

RETURNS

Returns the current RangeSliderBuilder instance.

SelectionEnd(System.Nullable)

The selection end value of the RangeSlider.

Parameters

value - System.Nullable<T>

The value for SelectionEnd

RETURNS

Returns the current RangeSliderBuilder instance.

SelectionStart(System.Nullable)

The selection start value of the RangeSlider.

Parameters

value - System.Nullable<T>

The value for SelectionStart

RETURNS

Returns the current RangeSliderBuilder instance.

SmallStep(System.Nullable)

The small step value of the RangeSlider. The underlying value will be changed when the end user (1) clicks on the increase or decrease buttons of the RangeSlider, (2) presses the arrow keys (the drag handle must be focused), or (3) drags the drag handle.

Parameters

value - System.Nullable<T>

The value for SmallStep

RETURNS

Returns the current RangeSliderBuilder instance.

TickPlacement(Kendo.Mvc.UI.SliderTickPlacement)

Denotes the location of the tick marks in the RangeSlider. The available options are:

Parameters

value - SliderTickPlacement

The value for TickPlacement

RETURNS

Returns the current RangeSliderBuilder instance.

Tooltip(System.Action)

Configuration of the RangeSlider tooltip.

Parameters

configurator - System.Action<RangeSliderTooltipSettingsBuilder>

The configurator for the tooltip setting.

RETURNS

Returns the current instance of RangeSliderBuilder .

Events(System.Action)

Configures the client-side events.

Parameters

configurator - System.Action<RangeSliderEventBuilder>

The client events action.

RETURNS

Returns the current RangeSliderBuilder instance.

Example

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

ToComponent()

Returns the internal view component.

RETURNS

The instance that represents the component.

Expression(System.String)

Sets the name of the component.

Parameters

modelExpression - System.String

RETURNS

Returns the current instance.

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

Sets the name of the component.

Parameters

modelExplorer - Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer

RETURNS

Returns the current instance.

Name(System.String)

Sets the name of the component.

Parameters

componentName - System.String

The name.

RETURNS

Returns the current instance.

Deferred(System.Boolean)

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

Parameters

deferred - System.Boolean

RETURNS

Returns a DeferredWidgetBuilder instance.

HtmlAttributes(System.Object)

Sets the HTML attributes.

Parameters

attributes - System.Object

The HTML attributes.

RETURNS

Returns the current instance.

HtmlAttributes(System.Collections.Generic.IDictionary)

Sets the HTML attributes.

Parameters

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

The HTML attributes.

RETURNS

Returns the current instance.

ScriptAttributes(System.Object,System.Boolean)

Sets the JavaScript attributes to the initialization script.

Parameters

attributes - System.Object

The JavaScript attributes.

overrideAttributes - System.Boolean

Argument which determines whether attributes should be overriden.

RETURNS

Returns the current instance.

ScriptAttributes(System.Collections.Generic.IDictionary,System.Boolean)

Sets the JavaScript attributes to the initialization script.

Parameters

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

The JavaScript attributes.

overrideAttributes - System.Boolean

Argument which determines whether attributes should be overriden.

RETURNS

Returns the current instance.

Render()

Renders the component in place.

ToHtmlString()

Returns the HTML representation of the component.

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

Parameters

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

ToClientTemplate()

Returns the client template for the component.

AsModule(System.Boolean)

Specifies whether the initialization script of the component will be rendered as a JavaScript module.

Parameters

value - System.Boolean

RETURNS

Returns the current instance.