changing button background

I have an application where I periodically need to change the background image for a button. This appears to work fine except if the button has been clicked at some point in the past. In this case when I change the background, the old image is maintained unless I back out of the application and re-launch it. Is there something being cached locally that I can clear out to stop this from happening?
This is currently by design, because the Metro templates that get applied to a Silverlight Button on the phone force the background/foreground to match your current metro theme colors. You can change this behavior by re-templating your button.
Share
This entry was posted in controls, wp7 and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>