Defines the fluent API for configuring the Kendo UI ExpansionPanel for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ExpansionPanelEventBuilder : EventBuilder
Inheritance: objectEventBuilderExpansionPanelEventBuilder
Inherited Members
Constructors
Initializes a new instance of the ExpansionPanelEventBuilder class.
public ExpansionPanelEventBuilder(IDictionary<string, object> events)
The ExpansionPanel event handlers.
Methods
Defines the handler of the Collapse client-side event. Fired when the widget is collapsed.The event handler function context (available via the this keyword) will be set to the widget instance.
public ExpansionPanelEventBuilder Collapse(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ExpansionPanelEventBuilder .
Defines the handler of the Collapse client-side event. Fired when the widget is collapsed.The event handler function context (available via the this keyword) will be set to the widget instance.
public ExpansionPanelEventBuilder Collapse(string handler)
The name of the JavaScript function that will handle the Collapse event.
Returns:Returns the current instance of ExpansionPanelEventBuilder .
Defines the handler of the Complete client-side event. Fired when the animation during collapse/expand is completed.The event handler function context (available via the this keyword) will be set to the widget instance.
public ExpansionPanelEventBuilder Complete(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ExpansionPanelEventBuilder .
Defines the handler of the Complete client-side event. Fired when the animation during collapse/expand is completed.The event handler function context (available via the this keyword) will be set to the widget instance.
public ExpansionPanelEventBuilder Complete(string handler)
The name of the JavaScript function that will handle the Complete event.
Returns:Returns the current instance of ExpansionPanelEventBuilder .
Defines the handler of the Expand client-side event. Fired when the widget is expanded.The event handler function context (available via the this keyword) will be set to the widget instance.
public ExpansionPanelEventBuilder Expand(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ExpansionPanelEventBuilder .
Defines the handler of the Expand client-side event. Fired when the widget is expanded.The event handler function context (available via the this keyword) will be set to the widget instance.
public ExpansionPanelEventBuilder Expand(string handler)
The name of the JavaScript function that will handle the Expand event.
Returns:Returns the current instance of ExpansionPanelEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the ExpansionPanel is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public ExpansionPanelEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ExpansionPanelEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the ExpansionPanel is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public ExpansionPanelEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Returns the current instance of ExpansionPanelEventBuilder .