Defines the fluent API for configuring the Kendo UI ActionSheet for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ActionSheetEventBuilder : EventBuilder
Inheritance: objectEventBuilderActionSheetEventBuilder
Inherited Members
Constructors
Initializes a new instance of the ActionSheetEventBuilder class.
public ActionSheetEventBuilder(IDictionary<string, object> events)
The ActionSheet event handlers.
Methods
Defines the handler of the Activate client-side event. Fired when the widget is opened.The event handler function context (available via the this keyword) will be set to the widget instance.
public ActionSheetEventBuilder Activate(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ActionSheetEventBuilder .
Defines the handler of the Activate client-side event. Fired when the widget is opened.The event handler function context (available via the this keyword) will be set to the widget instance.
public ActionSheetEventBuilder Activate(string handler)
The name of the JavaScript function that will handle the Activate event.
Returns:Returns the current instance of ActionSheetEventBuilder .
Defines the handler of the Close client-side event. Fired when the widget closes.The event handler function context (available via the this keyword) will be set to the widget instance.
public ActionSheetEventBuilder Close(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ActionSheetEventBuilder .
Defines the handler of the Close client-side event. Fired when the widget closes.The event handler function context (available via the this keyword) will be set to the widget instance.
public ActionSheetEventBuilder Close(string handler)
The name of the JavaScript function that will handle the Close event.
Returns:Returns the current instance of ActionSheetEventBuilder .
Defines the handler of the Deactivate client-side event. Fired when the widget is closed.The event handler function context (available via the this keyword) will be set to the widget instance.
public ActionSheetEventBuilder Deactivate(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ActionSheetEventBuilder .
Defines the handler of the Deactivate client-side event. Fired when the widget is closed.The event handler function context (available via the this keyword) will be set to the widget instance.
public ActionSheetEventBuilder Deactivate(string handler)
The name of the JavaScript function that will handle the Deactivate event.
Returns:Returns the current instance of ActionSheetEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the ActionSheet is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public ActionSheetEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ActionSheetEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the ActionSheet is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public ActionSheetEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Returns the current instance of ActionSheetEventBuilder .
Defines the handler of the Open client-side event. Fired when the widget opens.The event handler function context (available via the this keyword) will be set to the widget instance.
public ActionSheetEventBuilder Open(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ActionSheetEventBuilder .
Defines the handler of the Open client-side event. Fired when the widget opens.The event handler function context (available via the this keyword) will be set to the widget instance.
public ActionSheetEventBuilder Open(string handler)
The name of the JavaScript function that will handle the Open event.
Returns:Returns the current instance of ActionSheetEventBuilder .