ToastHeader Class
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.
Defines a visual header for the toast notification.
public sealed class ToastHeader
type ToastHeader = class
Public NotInheritable Class ToastHeader
- Inheritance
-
ToastHeader
Toast |
Initializes a new instance of the ToastHeader class. Constructs a toast header with all the required properties. |
Activation |
Gets or sets additional options relating to activation of the toast header. New in Creators Update |
Activation |
Gets or sets the type of activation this header will use when clicked. Defaults to Foreground. Note that only Foreground and Protocol are supported. |
Arguments |
Gets or sets a developer-defined string of arguments that is returned to the app when the user clicks this header. Cannot be null. |
Id |
Gets or sets a developer-created identifier that uniquely identifies this header. If two notifications have the same header id, they will be displayed underneath the same header in Action Center. Cannot be null. |
Title |
Gets or sets a title for the header. Cannot be null. |
Produit | Versions |
---|---|
Windows Community Toolkit | 6.1.1, 7.0.0, 7.1.0 |