DrawerEventBuilder
Defines the fluent API for configuring the Kendo UI Drawer for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class DrawerEventBuilder : EventBuilder
Inheritance: objectEventBuilderDrawerEventBuilder
Inherited Members
Constructors
Initializes a new instance of the DrawerEventBuilder class.
public DrawerEventBuilder(IDictionary<string, object> events)
The Drawer event handlers.
Methods
Defines the handler of the Hide client-side event. Fired when the Kendo UI Drawer is about to be hidden. The event can be prevented by calling the preventDefault method of the event parameter.
public DrawerEventBuilder Hide(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of DrawerEventBuilder .
Defines the handler of the Hide client-side event. Fired when the Kendo UI Drawer is about to be hidden. The event can be prevented by calling the preventDefault method of the event parameter.
public DrawerEventBuilder Hide(string handler)
The name of the JavaScript function that will handle the Hide event.
Returns:Returns the current instance of DrawerEventBuilder .
Defines the handler of the ItemClick client-side event. Fires when the user clicks an item in the Kendo UI Drawer.The event handler function context (available via the this keyword) will be set to the widget instance.
public DrawerEventBuilder ItemClick(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of DrawerEventBuilder .
Defines the handler of the ItemClick client-side event. Fires when the user clicks an item in the Kendo UI Drawer.The event handler function context (available via the this keyword) will be set to the widget instance.
public DrawerEventBuilder ItemClick(string handler)
The name of the JavaScript function that will handle the ItemClick event.
Returns:Returns the current instance of DrawerEventBuilder .
Defines the handler of the KendoKeydown client-side event.
public DrawerEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of DrawerEventBuilder .
Defines the handler of the KendoKeydown client-side event.
public DrawerEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Returns the current instance of DrawerEventBuilder .
Defines the handler of the Show client-side event. Fires before the Kendo UI Drawer is revealed. The event can be prevented by calling the preventDefault method of the event parameter.
public DrawerEventBuilder Show(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of DrawerEventBuilder .
Defines the handler of the Show client-side event. Fires before the Kendo UI Drawer is revealed. The event can be prevented by calling the preventDefault method of the event parameter.
public DrawerEventBuilder Show(string handler)
The name of the JavaScript function that will handle the Show event.
Returns:Returns the current instance of DrawerEventBuilder .