Edit

Share via


BadgeGlyphContent Class

Definition

Notification content object to display a glyph on a Tile's badge.

public sealed class BadgeGlyphContent : Microsoft.Toolkit.Uwp.Notifications.INotificationContent
type BadgeGlyphContent = class
    interface INotificationContent
Public NotInheritable Class BadgeGlyphContent
Implements INotificationContent
Inheritance
BadgeGlyphContent
Implements

Constructors

BadgeGlyphContent()

Initializes a new instance of the BadgeGlyphContent class. Default constructor to create a glyph badge content object.

BadgeGlyphContent(BadgeGlyphValue)

Initializes a new instance of the BadgeGlyphContent class. Constructor to create a glyph badge content object with a glyph.

Properties

Glyph

Gets or sets the glyph to be displayed on the badge.

Methods

GetContent()

Retrieves the notification Xml content as a string.

GetXml()

Retrieves the notification XML content as a WinRT Xml document.

ToString()

Retrieves the notification XML content as a string.

Applies to