ToastScenario Enum

Definition

Specifies the scenario, controlling behaviors about the Toast.

C#
public enum ToastScenario
Inheritance
ToastScenario

Fields

Name Value Description
Default 0

The normal Toast behavior. The Toast appears for a short duration, and then automatically dismisses into Action Center.

Alarm 1

Causes the Toast to stay on-screen and expanded until the user takes action. Also causes a looping alarm sound to be selected by default.

Reminder 2

Causes the Toast to stay on-screen and expanded until the user takes action.

IncomingCall 3

Causes the Toast to stay on-screen and expanded until the user takes action (on Mobile this expands to full screen). Also causes a looping incoming call sound to be selected by default.

Applies to

Produit Versions
Windows Community Toolkit 6.1.1, 7.0.0, 7.1.0