Fix incorrect background property name on Win 8.1 phone and tablet styles (#329)

This commit is contained in:
E.Z. Hart 2016-08-31 13:57:35 -06:00 коммит произвёл Jason Smith
Родитель 1d87e80d25
Коммит 11326e1c18
2 изменённых файлов: 3 добавлений и 5 удалений

Просмотреть файл

@ -435,9 +435,8 @@
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid Height="79" Background="{TemplateBinding NavigationBarBackground}"
Visibility="{TemplateBinding TitleVisibility}">
<Grid Height="79" Background="{TemplateBinding ToolbarBackground}" Visibility="{TemplateBinding TitleVisibility}">
<TextBlock Margin="10,0,0,0" Name="title" Foreground="{TemplateBinding TitleBrush}" VerticalAlignment="Center" Style="{ThemeResource HeaderTextBlockStyle}" Text="{Binding Title}" />
</Grid>
<ContentPresenter x:Name="presenter" Grid.Row="1" ContentTransitions="{TemplateBinding ContentTransitions}" />

Просмотреть файл

@ -327,8 +327,7 @@
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid Grid.Row="0" Grid.Column="0" Height="79" VerticalAlignment="Center" Background="{TemplateBinding NavigationBarBackground}"
Visibility="{TemplateBinding TitleVisibility}">
<Grid Grid.Row="0" Grid.Column="0" Height="79" VerticalAlignment="Center" Background="{TemplateBinding ToolbarBackground}" Visibility="{TemplateBinding TitleVisibility}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" MinWidth="{Binding TitleInset,RelativeSource={RelativeSource TemplatedParent}}" />
<ColumnDefinition Width="*" />