Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

#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