ToastScenario Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the scenario, controlling behaviors about the Toast.
public enum ToastScenario
type ToastScenario =
Public Enum ToastScenario
- Inheritance
-
ToastScenario
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. |
Produit | Versions |
---|---|
Windows Community Toolkit | 6.1.1, 7.0.0, 7.1.0 |