|
8 | 8 | Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> |
9 | 9 | <Grid> |
10 | 10 | <Grid x:Name="AppTitleBar" |
11 | | - Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" |
12 | | - Canvas.ZIndex="1" |
13 | | - Height="{x:Bind NavigationViewControl.CompactPaneLength}" |
14 | | - IsHitTestVisible="True" |
15 | | - VerticalAlignment="Top"> |
| 11 | + Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" |
| 12 | + Canvas.ZIndex="1" |
| 13 | + Height="{x:Bind NavigationViewControl.CompactPaneLength}" |
| 14 | + IsHitTestVisible="True" |
| 15 | + VerticalAlignment="Top"> |
16 | 16 | <Image Source="/Assets/WindowIcon.png" |
17 | | - HorizontalAlignment="Left" |
18 | | - Width="16" |
19 | | - Height="16" /> |
| 17 | + HorizontalAlignment="Left" |
| 18 | + Width="16" |
| 19 | + Height="16" /> |
20 | 20 | <TextBlock x:Name="AppTitleBarText" |
21 | | - VerticalAlignment="Center" |
22 | | - TextWrapping="NoWrap" |
23 | | - Style="{StaticResource CaptionTextBlockStyle}" |
24 | | - Margin="5,0,0,0"/> |
| 21 | + VerticalAlignment="Center" |
| 22 | + TextWrapping="NoWrap" |
| 23 | + Style="{StaticResource CaptionTextBlockStyle}" |
| 24 | + Margin="5,0,0,0"/> |
25 | 25 | </Grid> |
26 | 26 | <NavigationView |
27 | | - x:Name="NavigationViewControl" |
28 | | - Canvas.ZIndex="0" |
29 | | - IsBackButtonVisible="Visible" |
30 | | - IsBackEnabled="{x:Bind ViewModel.IsBackEnabled, Mode=OneWay}" |
31 | | - SelectedItem="{x:Bind ViewModel.Selected, Mode=OneWay}" |
32 | | - IsSettingsVisible="True" |
33 | | - ExpandedModeThresholdWidth="1280" |
34 | | - AlwaysShowHeader="True" |
35 | | - DisplayModeChanged="NavigationViewControl_DisplayModeChanged" |
36 | | - Header="{x:Bind ViewModel.Header, Mode=OneWay}"> |
| 27 | + x:Name="NavigationViewControl" |
| 28 | + Canvas.ZIndex="0" |
| 29 | + IsBackButtonVisible="Visible" |
| 30 | + IsBackEnabled="{x:Bind ViewModel.IsBackEnabled, Mode=OneWay}" |
| 31 | + SelectedItem="{x:Bind ViewModel.Selected, Mode=OneWay}" |
| 32 | + IsSettingsVisible="True" |
| 33 | + ExpandedModeThresholdWidth="1280" |
| 34 | + AlwaysShowHeader="True" |
| 35 | + DisplayModeChanged="NavigationViewControl_DisplayModeChanged" |
| 36 | + Header="{x:Bind ViewModel.Header, Mode=OneWay}"> |
37 | 37 | <NavigationView.MenuItems> |
38 | 38 | <NavigationViewItem |
39 | | - Content="{cme:ResourceString Name=ShellPage_GameTab}" |
40 | | - ca:NavigationHelper.NavigateTo="GamePage" |
41 | | - ca:NavigationViewItemHelper.IconGlyph="" /> |
| 39 | + Content="{cme:ResourceString Name=ShellPage_GameTab}" |
| 40 | + ca:NavigationHelper.NavigateTo="GamePage" |
| 41 | + ca:NavigationViewItemHelper.IconGlyph="" /> |
42 | 42 | </NavigationView.MenuItems> |
43 | 43 | <NavigationView.HeaderTemplate> |
44 | 44 | <DataTemplate> |
|
49 | 49 | </Grid.RowDefinitions> |
50 | 50 | <components:InfoBarArea Grid.Row="0" Margin="-50,20,0,0" /> |
51 | 51 | <TextBlock |
52 | | - Grid.Row="1" |
53 | | - Margin="-25,20,0,0" |
54 | | - Text="{Binding}" |
55 | | - Style="{ThemeResource TitleTextBlockStyle}" /> |
| 52 | + Grid.Row="1" |
| 53 | + Margin="-25,20,0,0" |
| 54 | + Text="{Binding}" |
| 55 | + Style="{ThemeResource TitleTextBlockStyle}" /> |
56 | 56 | </Grid> |
57 | 57 | </DataTemplate> |
58 | 58 | </NavigationView.HeaderTemplate> |
|
0 commit comments