BadgeNumericContent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Notification content object to display a number on a Tile's badge.
public sealed class BadgeNumericContent : Microsoft.Toolkit.Uwp.Notifications.INotificationContent
type BadgeNumericContent = class
interface INotificationContent
Public NotInheritable Class BadgeNumericContent
Implements INotificationContent
- Inheritance
-
BadgeNumericContent
- Implements
Constructors
BadgeNumericContent() |
Initializes a new instance of the BadgeNumericContent class. Default constructor to create a numeric badge content object. |
BadgeNumericContent(UInt32) |
Initializes a new instance of the BadgeNumericContent class. Constructor to create a numeric badge content object with a number. |
Properties
Number |
Gets or sets the number that will appear on the badge. If the number is 0, the badge will be removed. |
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. |