Skip to main content

ToastNotificationsManager.UserCancelled Event

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

Namespace: DevExpress.XtraBars.ToastNotifications

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DXCategory("Behavior")]
public event EventHandler<ToastNotificationEventArgs> UserCancelled

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.

Remarks

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