ChipEventBuilder
Defines the fluent API for configuring the Kendo UI Chip for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChipEventBuilder : EventBuilder
Inheritance: objectEventBuilderChipEventBuilder
Inherited Members
Constructors
Initializes a new instance of the ChipEventBuilder class.
public ChipEventBuilder(IDictionary<string, object> events)
The Chip event handlers.
Methods
Defines the handler of the Click client-side event. Fires when the user clicks the content of the Chip or activates it with the Enter or Space keys.
public ChipEventBuilder Click(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChipEventBuilder .
Defines the handler of the Click client-side event. Fires when the user clicks the content of the Chip or activates it with the Enter or Space keys.
public ChipEventBuilder Click(string handler)
The name of the JavaScript function that will handle the Click event.
Returns:Returns the current instance of ChipEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Chip is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChipEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChipEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Chip is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChipEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Returns the current instance of ChipEventBuilder .
Defines the handler of the Remove client-side event. Fires when the user clicks the remove icon of the Chip. After this event, the Chip will not remove itself.
public ChipEventBuilder Remove(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChipEventBuilder .
Defines the handler of the Remove client-side event. Fires when the user clicks the remove icon of the Chip. After this event, the Chip will not remove itself.
public ChipEventBuilder Remove(string handler)
The name of the JavaScript function that will handle the Remove event.
Returns:Returns the current instance of ChipEventBuilder .
Defines the handler of the Select client-side event. Fires when the selection of a selectable the Chip toggles.
public ChipEventBuilder Select(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChipEventBuilder .
Defines the handler of the Select client-side event. Fires when the selection of a selectable the Chip toggles.
public ChipEventBuilder Select(string handler)
The name of the JavaScript function that will handle the Select event.
Returns:Returns the current instance of ChipEventBuilder .