locked
Changing Win8 tile color dynamically

    Question

  • I would like to have my app change its tile background color dynamically.

    The tile will have a png image with transparent areas.

    Changing the background color will allow the transparent areas to show the new color.

    If this is not possible, my fallback is to generate a fresh image each time I need to change the color. That is a lot of extra overhead to achieve such a simple effect. And no, it is not feasible to pre-generate images for each color - there are too many possible colors.

    Friday, August 3, 2012 6:49 PM

Answers

  • Hi Tom,

    The background color is set in your appxmanifest and can't be updated on the fly. If you want to change the tile's background color you will need to do so in the bitmap rather than relying on transparency.

    --Rob

    Friday, August 3, 2012 9:19 PM
    Moderator