ToastAfterActivationBehavior Enum

Definition

Specifies the behavior that the toast should use when the user takes action on the toast.

C#
public enum ToastAfterActivationBehavior
Inheritance
ToastAfterActivationBehavior

Fields

Name Value Description
Default 0

Default behavior. The toast will be dismissed when the user takes action on the toast.

PendingUpdate 1

After the user clicks a button on your toast, the notification will remain present, in a "pending update" visual state. You should immediately update your toast from a background task so that the user does not see this "pending update" visual state for too long.

Applies to

Produit Versions
Windows Community Toolkit 7.0.0