mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-07 17:42:45 +08:00
just diff icons to make it much clearer. still hitting the xaml parse errror a ton ..... :(
This commit is contained in:
parent
3f5a54f9f1
commit
0a20be85ab
@ -49,10 +49,10 @@
|
|||||||
|
|
||||||
TODO: Why isn't main page loading by default
|
TODO: Why isn't main page loading by default
|
||||||
-->
|
-->
|
||||||
<winui:NavigationViewItem x:Uid="Shell_Main" Icon="Document" helpers:NavHelper.NavigateTo="views:MainPage" />
|
<winui:NavigationViewItem x:Uid="Shell_Main" Icon="Home" helpers:NavHelper.NavigateTo="views:MainPage" />
|
||||||
<winui:NavigationViewItem x:Uid="Shell_Test1" Icon="Document" helpers:NavHelper.NavigateTo="views:Test1Page" />
|
<winui:NavigationViewItem x:Uid="Shell_Test1" Icon="Play" helpers:NavHelper.NavigateTo="views:Test1Page" />
|
||||||
<winui:NavigationViewItem x:Uid="Shell_Test2" Icon="Document" helpers:NavHelper.NavigateTo="views:Test2Page" />
|
<winui:NavigationViewItem x:Uid="Shell_Test2" Icon="Refresh" helpers:NavHelper.NavigateTo="views:Test2Page" />
|
||||||
<winui:NavigationViewItem x:Uid="Shell_Test3" Icon="Document" helpers:NavHelper.NavigateTo="views:Test3Page" />
|
<winui:NavigationViewItem x:Uid="Shell_Test3" Icon="Save" helpers:NavHelper.NavigateTo="views:Test3Page" />
|
||||||
</winui:NavigationView.MenuItems>
|
</winui:NavigationView.MenuItems>
|
||||||
<i:Interaction.Behaviors>
|
<i:Interaction.Behaviors>
|
||||||
<behaviors:NavigationViewHeaderBehavior
|
<behaviors:NavigationViewHeaderBehavior
|
||||||
|
@ -14,6 +14,7 @@ namespace Microsoft.PowerToys.Settings.UI.Views
|
|||||||
public ShellPage()
|
public ShellPage()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
DataContext = ViewModel;
|
DataContext = ViewModel;
|
||||||
ViewModel.Initialize(shellFrame, navigationView, KeyboardAccelerators);
|
ViewModel.Initialize(shellFrame, navigationView, KeyboardAccelerators);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user