ビジュアル スタジオ (XAML) でアプリケーションの背景色を白 (または、ApplicationPageBackgroundTheme など) に変更しようとしていますが、機能しません。デバッグすると、黒い背景が表示されます。
[デバイス] ペインに移動し、デフォルトのカラー テーマを [ライト] に選択すると、テキストや背景を含め、画面上のすべてが白くなります。
xaml で色の背景を変更すると、実行時に黒に戻ります。
調べてみましたが、情報がありませんでした。これは既知のバグですか? これは今までにないことです。Visual Studio 2012 Ultimate を使用しています。
<Page
x:Class="hjgjhgjg.MainPage"
IsTabStop="false"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:hjgjhgjh"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" Background="White">
<Grid Style="{StaticResource LayoutRootStyle}" Background="White">
<Grid.RowDefinitions>
<RowDefinition Height="140" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Button x:Name="backButton" Click="GoBack" IsEnabled="False" Style="{StaticResource BackButtonStyle}" />
<TextBlock x:Name="pageTitle" Grid.Column="1" Text="gfdgfdg" Style="{StaticResource PageHeaderTextStyle}" />
</Grid>
</Grid>
</Page>