Reputation: 85
I want to set background of my app to be white.
we can change it this way:
<Grid x:Name="LayoutRoot" Background="White">
But I want to be behind of the root grid also white.
In other way, How to change phone's theme to light behind my app?
Upvotes: 1
Views: 449
Reputation: 15268
You should use the PhoneThemeManager library:
The ThemeManager class provides static methods to be used during app initialization to force the app's resources to appear as the Dark or Light theme.
Just add ThemeManager.ToLightTheme();
in the App constructor and your app will run like if the theme was Light (white background).
Upvotes: 3