Defines the fluent API for configuring the Kendo UI Notification for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class NotificationEventBuilder : EventBuilder
Inheritance: objectEventBuilderNotificationEventBuilder
Inherited Members
Constructors
Initializes a new instance of the NotificationEventBuilder class.
public NotificationEventBuilder(IDictionary<string, object> events)
The Notification event handlers.
Methods
Defines the handler of the Hide client-side event. Fires when a notification's hiding animation starts.
public NotificationEventBuilder Hide(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of NotificationEventBuilder .
Defines the handler of the Hide client-side event. Fires when a notification's hiding animation starts.
public NotificationEventBuilder Hide(string handler)
The name of the JavaScript function that will handle the Hide event.
Returns:Returns the current instance of NotificationEventBuilder .
Defines the handler of the Show client-side event. Fires when a notification's showing animation starts.
public NotificationEventBuilder Show(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of NotificationEventBuilder .
Defines the handler of the Show client-side event. Fires when a notification's showing animation starts.
public NotificationEventBuilder Show(string handler)
The name of the JavaScript function that will handle the Show event.
Returns:Returns the current instance of NotificationEventBuilder .