Ben Cull - Payments Engineer and Microsoft Development Professional

How to Force Light Theme in your XAML Windows 8 App

Are you changing your device theme to light in blend (or visual studio) only to find that when you run the application is has reverted back to dark theme? Worry no more.

The fix is delightfully simple. To set your theme to light when using XAML, add the following line to your app.xaml just below the x:Class line.

RequestedTheme="Light"

That’s it.

How to Force Light Theme in your XAML Windows 8 App
Prev post

Setting up a SOAP WebService with SSL using Configurationless WCF

Next post

Property with NotifyOfPropertyChange Code Snippet for Caliburn.Micro

How to Force Light Theme in your XAML Windows 8 App

Get in touch

Send me a message and I'll get back to you.