Back to Devexpress

ToastNotificationsManager.UserCancelled Event

windowsforms-devexpress-dot-xtrabars-dot-toastnotifications-dot-toastnotificationsmanager-ae8fd47d.md

latest2.5 KB
Original Source

ToastNotificationsManager.UserCancelled Event

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

Namespace : DevExpress.XtraBars.ToastNotifications

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Behavior")]
public event EventHandler<ToastNotificationEventArgs> UserCancelled
vb
<DXCategory("Behavior")>
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:

PropertyDescription
NotificationIDGets 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

Toast Notification Manager

ToastNotificationsManager Class

ToastNotificationsManager Members

DevExpress.XtraBars.ToastNotifications Namespace