RangeSliderTagHelper
Kendo UI RangeSlider TagHelper RangeSliderTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("kendo-rangeslider")]
[RestrictChildren("slider-tooltip", new string[] { })]
[OutputElementHint("div")]
public class RangeSliderTagHelper : TagHelperBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperBaseRangeSliderTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-rangeslider name="rangeslider"
increase-button-title="Right"
decrease-button-title="Left"
min="0" max="10"
small-step="1"
large-step="10">
</kendo-rangeslider>
Child Tags
Constructors
Initializes a new instance of the RangeSliderTagHelper class.
public RangeSliderTagHelper(IKendoHtmlGenerator generator)
Properties
An expression to be evaluated against the current model.
public ModelExpression For { 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: The allied largeStep will also set large tick for every large step.
public double? LargeStep { get; set; }
The title of the left drag handle of the RangeSlider.
public string LeftDragHandleTitle { get; set; }
The name of the JavaScript function that will handle the change event. Fires when the RangeSlider value changes as a result of selecting a new value with one of the drag handles or the keyboard.
public string OnChange { get; set; }
The name of the JavaScript function that will handle the slide event. Fires when the user drags the drag handle to a new position.
public string OnSlide { get; set; }
The orientation of a RangeSlider - "horizontal" or "vertical".
public SliderOrientation? Orientation { get; set; }
The title of the right drag handle of the RangeSlider.
public string RightDragHandleTitle { get; set; }
The selection end value of the RangeSlider.
public double? SelectionEnd { get; set; }
The selection start value of the RangeSlider.
public double? SelectionStart { get; set; }
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.
public double? SmallStep { get; set; }
Denotes the location of the tick marks in the RangeSlider. The available options are:
public SliderTickPlacement? TickPlacement { get; set; }
Methods
Gets the initialization script.
protected override string GetInitializationScript()
The initialization script.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.
public override IDictionary<string, object> Serialize()
Overrides:
SerializeEvents method.
protected override Dictionary<string, object> SerializeEvents()
Overrides:
SerializeSettings method.
protected override Dictionary<string, object> SerializeSettings()
Overrides:
Writes the HTML output.
protected override void WriteHtml(TagHelperOutput output)
The TagHelper output.
Overrides: