SliderEventBuilder
Defines the fluent API for configuring the Kendo UI Slider for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SliderEventBuilder : EventBuilder
Inheritance: objectEventBuilderSliderEventBuilder
Inherited Members
Constructors
Initializes a new instance of the SliderEventBuilder class.
public SliderEventBuilder(IDictionary<string, object> events)
The Slider event handlers.
Methods
Defines the handler of the Change client-side event. Fires when the slider value changes as a result of selecting a new value with the drag handle, buttons or keyboard.
public SliderEventBuilder Change(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SliderEventBuilder .
Defines the handler of the Change client-side event. Fires when the slider value changes as a result of selecting a new value with the drag handle, buttons or keyboard.
public SliderEventBuilder Change(string handler)
The name of the JavaScript function that will handle the Change event.
Returns:Returns the current instance of SliderEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Slider is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public SliderEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SliderEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Slider is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public SliderEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Returns the current instance of SliderEventBuilder .
Defines the handler of the Slide client-side event. Fires when the user drags the drag handle to a new position.
public SliderEventBuilder Slide(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SliderEventBuilder .
Defines the handler of the Slide client-side event. Fires when the user drags the drag handle to a new position.
public SliderEventBuilder Slide(string handler)
The name of the JavaScript function that will handle the Slide event.
Returns:Returns the current instance of SliderEventBuilder .