Fires if an end-user closes a notification owned by this ToastNotificationsManager.
[DXCategory("Behavior")] public event EventHandler<ToastNotificationEventArgs> UserCancelled
<DXCategory("Behavior")> Public Event UserCancelled As EventHandler(Of ToastNotificationEventArgs)
The UserCancelled event's data class is ToastNotificationEventArgs. The following properties provide information specific to this event:
|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.