ToastDismissedEventArgs
ToastDismissedEventArgs
ToastDismissedEventArgs
ToastDismissedEventArgs
Class
Definition
Provides the reason that a toast notification is no longer displayed on-screen.
public : sealed class ToastDismissedEventArgs : IToastDismissedEventArgspublic sealed class ToastDismissedEventArgs : IToastDismissedEventArgsPublic NotInheritable Class ToastDismissedEventArgs Implements IToastDismissedEventArgs// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
Your app receives this class when processing the ToastNotification.Dismissed event.
Properties
Reason Reason Reason Reason
Gets the reason that a toast notification is no longer displayed on-screen.
public : ToastDismissalReason Reason { get; }public ToastDismissalReason Reason { get; }Public ReadOnly Property Reason As ToastDismissalReason// You can use this property in JavaScript.
One of the enumeration values that specify why a toast is no longer being shown.
- See Also
-
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