RangeSliderBuilder
Properties
WriteAction - Func
Methods
Values(System.Nullable,System.Nullable)
Sets the value of the range slider.
Parameters
selectionStart - System.Nullable<T>
selectionEnd - System.Nullable<T>
Values(Kendo.Mvc.UI.Fluent.T[])
Parameters
range - T[]
Tooltip(System.Boolean)
Parameters
value - System.Boolean
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
LeftDragHandleTitle(System.String)
The title of the left drag handle of the RangeSlider.
Parameters
value - System.String
The value for LeftDragHandleTitle
Max(System.Nullable)
The maximum value of the RangeSlider.
Parameters
value - System.Nullable<T>
The value for Max
Min(System.Nullable)
The minimum value of the RangeSlider.
Parameters
value - System.Nullable<T>
The value for Min
Orientation(Kendo.Mvc.UI.SliderOrientation)
The orientation of a RangeSlider - "horizontal" or "vertical".
Parameters
value - SliderOrientation
The value for Orientation
RightDragHandleTitle(System.String)
The title of the right drag handle of the RangeSlider.
Parameters
value - System.String
The value for RightDragHandleTitle
SelectionEnd(System.Nullable)
The selection end value of the RangeSlider.
Parameters
value - System.Nullable<T>
The value for SelectionEnd
SelectionStart(System.Nullable)
The selection start value of the RangeSlider.
Parameters
value - System.Nullable<T>
The value for SelectionStart
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
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
Tooltip(System.Action)
Configuration of the RangeSlider tooltip.
Parameters
configurator - System.Action<RangeSliderTooltipSettingsBuilder>
The configurator for the tooltip setting.
Events(System.Action)
Configures the client-side events.
Parameters
configurator - System.Action<RangeSliderEventBuilder>
The client events action.
Example
@(Html.Kendo().RangeSlider()
.Name("RangeSlider")
.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.
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.
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.
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()
AsModule(System.Boolean)
Specifies whether the initialization script of the component will be rendered as a JavaScript module.