How to change the default theme of a Windows Store App

How to change the default theme of a Windows Store App
  • 1732
By default, a Metro style app project has black theme. 

To change the default black theme, you can use the Application property.

Double click on App.xaml 

Add RequestedTheme property and set it to light as following:

<Application
    x:Class="MyFirstApp.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:HelloWorld" 
    RequestedTheme="Light">

Now new application is light background theme. 


© 2019 DotNetHeaven. All rights reserved.