ToastDismissedEventArgs.Reason Property

Definition

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