header (Toast XML Schema)

Specifies a custom header that groups multiple notifications together within Action Center.

Element hierarchy

<toast>
<header>

Syntax

<header id = string
    title = string
    arguments = string 
    activationType? = "foreground" | "protocol"
/>

Key

?   optional (zero or one)

Attributes and Elements

Attributes

Attribute Description Data type Required Default value
id 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. string Yes None
title A title for the header. string Yes None
arguments A developer-defined string of arguments that is returned to the app when the user clicks this header. Cannot be null. string Yes None
activationType The type of activation this header will use when clicked. string No "foreground"

Child Elements

None

Parent Elements

Parent Element Description
toast Base toast element, which contains at least a single visual element.

See also