ToastDismissedEventArgs.Reason Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the reason that a toast notification is no longer displayed on-screen.
public:
property ToastDismissalReason Reason { ToastDismissalReason get(); };
ToastDismissalReason Reason();
public ToastDismissalReason Reason { get; }
var toastDismissalReason = toastDismissedEventArgs.reason;
Public ReadOnly Property Reason As ToastDismissalReason
Property Value
One of the enumeration values that specify why a toast is no longer being shown.
Applies to
See also
- Toast notifications sample
- Sending toast notifications from desktop apps sample
- Toast XML schema
- Toast notification overview
- Quickstart: Sending a toast notification
- Quickstart: Sending a toast push notification
- Quickstart: Sending a toast notification from the desktop
- Guidelines and checklist for toast notifications
- How to handle activation from a toast notification
- How to opt in for toast notifications
- How to schedule a toast notification
- How to enable desktop toast notifications through an AppUserModelID
- The toast template catalog
- Toast audio options