EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

BadgeTemplateType enumeration

Applies to Windows and Windows Phone

Specifies the template to use for a tile's badge overlay. Used by BadgeUpdateManager.getTemplateContent.

Syntax


var value = Windows.UI.Notifications.BadgeTemplateType.badgeGlyph;

Attributes

[Version(0x06020000)]

Members

The BadgeTemplateType enumeration has these members.

MemberValueDescription
BadgeGlyph | badgeGlyph0

A system-provided glyph image. For more information, see Badge overview.

BadgeNumber | badgeNumber1

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

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

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

 

 

Mostrar:
© 2014 Microsoft