ToastNotification.Content Property
Definition
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.
Gets the XML that defines the current toast notification.
public:
property XmlDocument ^ Content { XmlDocument ^ get(); };
XmlDocument Content();
public XmlDocument Content { get; }
var xmlDocument = toastNotification.content;
Public ReadOnly Property Content As XmlDocument
Property Value
The object that contains the XML.
Remarks
The retrieved elements and their attributes are manipulated through Document Object Model (DOM) manipulation functions to customize the toast content. See toast schemafor an explanation of toast elements and attributes.
Applies to
See also
- Toast notifications sample
- Sending toast notifications from desktop apps sample
- Toast XML schema
- Tiles, badges, and notifications
- Quickstart: Sending a toast notification
- Quickstart: Sending a toast push notification
- Quickstart: Sending a toast notification from the desktop
- Guidelines and checklist for toast notifications
- How to handle activation from a toast notification
- How to opt in for toast notifications
- How to schedule a toast notification
- How to enable desktop toast notifications through an AppUserModelID
- The toast template catalog
- Toast audio options