ListBoxEventBuilder
Defines the fluent API for configuring the Kendo UI ListBox for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ListBoxEventBuilder : EventBuilder
Inheritance: objectEventBuilderListBoxEventBuilder
Inherited Members
Constructors
Initializes a new instance of the ListBoxEventBuilder class.
public ListBoxEventBuilder(IDictionary<string, object> events)
The ListBox event handlers.
Methods
Defines the handler of the Add client-side event. Fires before an item is added to the ListBox.The function context of the event handler (available through the this keyword) that will be set to the widget instance.
public ListBoxEventBuilder Add(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the Add client-side event. Fires before an item is added to the ListBox.The function context of the event handler (available through the this keyword) that will be set to the widget instance.
public ListBoxEventBuilder Add(string handler)
The name of the JavaScript function that will handle the Add event.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the Change client-side event. Fires when the ListBox selection has changed.The function context of the event handler (available through the this keyword) that will be set to the widget instance.
public ListBoxEventBuilder Change(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the Change client-side event. Fires when the ListBox selection has changed.The function context of the event handler (available through the this keyword) that will be set to the widget instance.
public ListBoxEventBuilder Change(string handler)
The name of the JavaScript function that will handle the Change event.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the DataBound client-side event. Fires when the ListBox has received data from the data source and is already rendered.The function context of the event handler (available through the this keyword) that will be set to the widget instance.
public ListBoxEventBuilder DataBound(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the DataBound client-side event. Fires when the ListBox has received data from the data source and is already rendered.The function context of the event handler (available through the this keyword) that will be set to the widget instance.
public ListBoxEventBuilder DataBound(string handler)
The name of the JavaScript function that will handle the DataBound event.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the Drag client-side event. Fires when the placeholder of the ListBox changes its position.
public ListBoxEventBuilder Drag(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the Drag client-side event. Fires when the placeholder of the ListBox changes its position.
public ListBoxEventBuilder Drag(string handler)
The name of the JavaScript function that will handle the Drag event.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the DragEnd client-side event. Fires when the dragging of the item ends but before its position is changed in the DOM.
public ListBoxEventBuilder DragEnd(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the DragEnd client-side event. Fires when the dragging of the item ends but before its position is changed in the DOM.
public ListBoxEventBuilder DragEnd(string handler)
The name of the JavaScript function that will handle the DragEnd event.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the DragStart client-side event. Fires when the dragging of the ListBox items starts.
public ListBoxEventBuilder DragStart(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the DragStart client-side event. Fires when the dragging of the ListBox items starts.
public ListBoxEventBuilder DragStart(string handler)
The name of the JavaScript function that will handle the DragStart event.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the Drop client-side event. Fires when a ListBox item is dropped over one of the drop targets.
public ListBoxEventBuilder Drop(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the Drop client-side event. Fires when a ListBox item is dropped over one of the drop targets.
public ListBoxEventBuilder Drop(string handler)
The name of the JavaScript function that will handle the Drop event.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the ListBox is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public ListBoxEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the ListBox is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public ListBoxEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the Remove client-side event. Fires before an item is removed from the ListBox.The function context of the event handler (available through the this keyword) that will be set to the widget instance.
public ListBoxEventBuilder Remove(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the Remove client-side event. Fires before an item is removed from the ListBox.The function context of the event handler (available through the this keyword) that will be set to the widget instance.
public ListBoxEventBuilder Remove(string handler)
The name of the JavaScript function that will handle the Remove event.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the Reorder client-side event. Fires when ListBox items are reordered.
public ListBoxEventBuilder Reorder(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ListBoxEventBuilder .
Defines the handler of the Reorder client-side event. Fires when ListBox items are reordered.
public ListBoxEventBuilder Reorder(string handler)
The name of the JavaScript function that will handle the Reorder event.
Returns:Returns the current instance of ListBoxEventBuilder .