private static void SetTileBadge(int value) { // update live tile badge var _Badge = Windows.UI.Notifications.BadgeUpdateManager .GetTemplateContent(Windows.UI.Notifications.BadgeTemplateType.BadgeNumber); (_Badge.SelectSingleNode("/badge") as Windows.Data.Xml.Dom.XmlElement) .SetAttribute("value", value.ToString()); var badge = new Windows.UI.Notifications.BadgeNotification(_Badge); Windows.UI.Notifications.BadgeUpdateManager.CreateBadgeUpdaterForApplication().Update(badge); }
private BadgeNotification(Windows.UI.Notifications.BadgeNotification notification) { _notification = notification; }
internal BadgeNotification(Windows.UI.Notifications.BadgeNotification notification) { _notification = notification; }