ToastDismissalReason ToastDismissalReason ToastDismissalReason ToastDismissalReason ToastDismissalReason Enum


Specifies the reason that a toast notification is no longer being shown. Used with ToastDismissedEventArgs.Reason.

public : enum class ToastDismissalReason
enum class winrt::Windows::UI::Notifications::ToastDismissalReason : int32_t
public enum ToastDismissalReason
Public Enum ToastDismissalReason
var value = Windows.UI.Notifications.ToastDismissalReason.applicationHidden;
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)


ApplicationHidden ApplicationHidden ApplicationHidden ApplicationHidden ApplicationHidden

The app explicitly hid the toast notification by calling the ToastNotifier.hide method.

TimedOut TimedOut TimedOut TimedOut TimedOut

The toast notification had been shown for the maximum allowed time and was faded out. The maximum time to show a toast notification is 7 seconds except in the case of long-duration toasts, in which case it is 25 seconds.

UserCanceled UserCanceled UserCanceled UserCanceled UserCanceled

The user dismissed the toast notification.

See Also