Friday, February 13, 2015

Manage the Windows Phone Theme

Wouldn't it be great if you could control the theme of your Windows Phone 8 (silverlight) app? Well, just install the PhoneThemeManager package from nuget written by Jeff Wilcox and add a single line of code to your app.


Read more about it at Oh, and it seems like the reference isn't added sometimes so just add a reference and drill down into the packages folder until you find the correct dll. In this case JeffWilcox.PhoneThemeManager.dll in the windowsphone8 folder.

Windows Phone 8.1 solves this by letting you request a theme by writing something like

    this.RequestedTheme = ApplicationTheme.Light;

in the constructor (or any other place) of your app.

Check out this article on Stack Overflow you more info!

No comments:

Post a Comment