mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-05 04:39:08 +08:00
using non-winui navview for stability, fixed revert error on runner's csproj
This commit is contained in:
parent
8433119ac9
commit
e2c7941542
@ -29,6 +29,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Toolkit.Wpf.UI.Controls" Version="6.0.0" />
|
||||
<PackageReference Include="Microsoft.Toolkit.Wpf.UI.XamlHost" Version="6.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -11,14 +11,14 @@
|
||||
d:DesignWidth="400">
|
||||
|
||||
<Grid>
|
||||
<muxc:NavigationView x:Name="nvSample">
|
||||
<muxc:NavigationView.MenuItems>
|
||||
<muxc:NavigationViewItem Icon="Play" Content="Menu Item1" Tag="SamplePage1" />
|
||||
<muxc:NavigationViewItem Icon="Save" Content="Menu Item2" Tag="SamplePage2" />
|
||||
<muxc:NavigationViewItem Icon="Refresh" Content="Menu Item3" Tag="SamplePage3" />
|
||||
<muxc:NavigationViewItem Icon="Download" Content="Menu Item4" Tag="SamplePage4" />
|
||||
</muxc:NavigationView.MenuItems>
|
||||
<NavigationView x:Name="nvSample" PaneDisplayMode="Left">
|
||||
<NavigationView.MenuItems>
|
||||
<NavigationViewItem Icon="Play" Content="Menu Item1" Tag="SamplePage1" />
|
||||
<NavigationViewItem Icon="Save" Content="Menu Item2" Tag="SamplePage2" />
|
||||
<NavigationViewItem Icon="Refresh" Content="Menu Item3" Tag="SamplePage3" />
|
||||
<NavigationViewItem Icon="Download" Content="Menu Item4" Tag="SamplePage4" />
|
||||
</NavigationView.MenuItems>
|
||||
<Frame x:Name="contentFrame"/>
|
||||
</muxc:NavigationView>
|
||||
</NavigationView>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
|
Loading…
Reference in New Issue
Block a user