ToastNotificationsManager.UserCancelled Event

Fires if an end-user closes a notification owned by this ToastNotificationsManager.

Namespace: DevExpress.XtraBars.ToastNotifications

Assembly: DevExpress.XtraBars.v20.1.dll


public event EventHandler<ToastNotificationEventArgs> UserCancelled
Public Event UserCancelled As EventHandler(Of ToastNotificationEventArgs)

Event Data

The UserCancelled event's data class is ToastNotificationEventArgs. The following properties provide information specific to this event:

Property Description
NotificationID Gets the ID of a notification related to the current event.


The UserCancelled notification occurs whenever an end-user clicks the close button at the notification's top right corner. If a notification's lifetime expires without an end-user response, the ToastNotificationsManager.TimedOut event fires. See the Toast Notification Manager topic to learn more about ToastNotificationsManager events.

See Also