Could backgroud-color of badge glyph be transparent ? RRS feed

  • Question

  • As the title says,

    I noticed when changed "Background color" of package.appxmanifest could effect the "Background color" of badge glyph.

    Could I customize the badge glyph appearance ?

    something like below, but it can not work.

             var badgeXml = Windows.UI.Notifications.BadgeUpdateManager.getTemplateContent(Windows.UI.Notifications.BadgeTemplateType.badgeGlyph);
             var badgeAttributes = this.badgeXml.getElementsByTagName("badge");        
             badgeAttributes[0].setAttribute("value", "playing");
             badgeAttributes[0].setAttribute("style", "background-color: transparent;");

    Friday, June 29, 2012 4:38 AM