TimelineEventBuilder
Defines the fluent API for configuring the Kendo UI Timeline for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class TimelineEventBuilder : EventBuilder
Inheritance: objectEventBuilderTimelineEventBuilder
Inherited Members
Constructors
Initializes a new instance of the TimelineEventBuilder class.
public TimelineEventBuilder(IDictionary<string, object> events)
The Timeline event handlers.
Methods
Defines the handler of the ActionClick client-side event. Fires when an action for an event is clicked.
public TimelineEventBuilder ActionClick(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of TimelineEventBuilder .
Defines the handler of the ActionClick client-side event. Fires when an action for an event is clicked.
public TimelineEventBuilder ActionClick(string handler)
The name of the JavaScript function that will handle the ActionClick event.
Returns:Returns the current instance of TimelineEventBuilder .
Defines the handler of the Change client-side event. Fires when a new event is opened.
public TimelineEventBuilder Change(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of TimelineEventBuilder .
Defines the handler of the Change client-side event. Fires when a new event is opened.
public TimelineEventBuilder Change(string handler)
The name of the JavaScript function that will handle the Change event.
Returns:Returns the current instance of TimelineEventBuilder .
Defines the handler of the Collapse client-side event. Fires when an event is going to be collapsed.
public TimelineEventBuilder Collapse(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of TimelineEventBuilder .
Defines the handler of the Collapse client-side event. Fires when an event is going to be collapsed.
public TimelineEventBuilder Collapse(string handler)
The name of the JavaScript function that will handle the Collapse event.
Returns:Returns the current instance of TimelineEventBuilder .
Defines the handler of the DataBound client-side event. Fires when the Timeline is bound to data.
public TimelineEventBuilder DataBound(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of TimelineEventBuilder .
Defines the handler of the DataBound client-side event. Fires when the Timeline is bound to data.
public TimelineEventBuilder DataBound(string handler)
The name of the JavaScript function that will handle the DataBound event.
Returns:Returns the current instance of TimelineEventBuilder .
Defines the handler of the Expand client-side event. Fires when an event is going to be expanded.
public TimelineEventBuilder Expand(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of TimelineEventBuilder .
Defines the handler of the Expand client-side event. Fires when an event is going to be expanded.
public TimelineEventBuilder Expand(string handler)
The name of the JavaScript function that will handle the Expand event.
Returns:Returns the current instance of TimelineEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Timeline is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public TimelineEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of TimelineEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Timeline is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public TimelineEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Returns the current instance of TimelineEventBuilder .
Defines the handler of the Navigate client-side event. Fires when the left or right arrow is clicked.
public TimelineEventBuilder Navigate(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of TimelineEventBuilder .
Defines the handler of the Navigate client-side event. Fires when the left or right arrow is clicked.
public TimelineEventBuilder Navigate(string handler)
The name of the JavaScript function that will handle the Navigate event.
Returns:Returns the current instance of TimelineEventBuilder .