Dela via


BadgeTemplateType Enum

Definition

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

public enum class BadgeTemplateType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class BadgeTemplateType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum BadgeTemplateType
var value = Windows.UI.Notifications.BadgeTemplateType.badgeGlyph
Public Enum BadgeTemplateType
Inheritance
BadgeTemplateType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
BadgeGlyph 0

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

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.

Applies to

See also