Carl Frederik Grønvald
Member
- Joined
- Jun 17, 2021
- Messages
- 8
- Programming Experience
- 10+
Hello. I have an issue with badge notifications using windows forms. The badge icon does not show up in the taskbar, but does show up in the start menu. I made a test UWP app, where the badges show up both in the start menu and in the taskbar no problem. I run the exact same code to send a badge notification in both applications, which is shown below.
C#:
var xmlText = "<badge value=\"alert\"/>";
var xmlDoc = new Windows.Data.Xml.Dom.XmlDocument();
xmlDoc.LoadXml(xmlText);
var badgeNotification = new BadgeNotification(xmlDoc);
var bu = BadgeUpdateManager.CreateBadgeUpdaterForApplication();
bu.Update(badgeNotification);