BadgeNotification.Content | content property

Applies to Windows and Windows Phone

Gets the XML that defines the value or glyph used as the tile's badge.

Syntax


var content = badgeNotification.content;

Property value

Type: XmlDocument

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 badge content. See badge schema for an explanation of badge elements and attributes.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.UI.Notifications
Windows::UI::Notifications [C++]

Metadata

Windows.winmd

See also

BadgeNotification
App tiles and badges sample
Guidelines and checklist for tiles and badges
How to clear a badge
How to send a glyph or numeric badge in a local notification
How to set up periodic notifications for badges
How to update a badge through push notifications
Badge XML schema
Badge overview

 

 

Show:
© 2014 Microsoft