Specifies the template to use for a tile's badge overlay. Used by BadgeUpdateManager.getTemplateContent.
Syntax
var value = Windows.UI.Notifications.BadgeTemplateType.badgeGlyph;
Attributes
- VersionAttribute(NTDDI_WIN8)
Members
The BadgeTemplateType enumeration has these members.
| Member | Value | Description |
|---|---|---|
| BadgeGlyph | badgeGlyph | 0 |
A system-provided glyph image. For more information, see Badge overview. |
| BadgeNumber | badgeNumber | 1 |
A numerical value from 1 to 99. Values greater than 99 are accepted, but in those cases "99+" is displayed instead of the actual number. In scenarios where your numbers are expected to be greater than 99, you should consider using a glyph instead. |
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
- 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
Build date: 12/4/2012