mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-07 09:28:03 +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>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.Toolkit.Wpf.UI.Controls" Version="6.0.0" />
|
<PackageReference Include="Microsoft.Toolkit.Wpf.UI.Controls" Version="6.0.0" />
|
||||||
|
<PackageReference Include="Microsoft.Toolkit.Wpf.UI.XamlHost" Version="6.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -11,14 +11,14 @@
|
|||||||
d:DesignWidth="400">
|
d:DesignWidth="400">
|
||||||
|
|
||||||
<Grid>
|
<Grid>
|
||||||
<muxc:NavigationView x:Name="nvSample">
|
<NavigationView x:Name="nvSample" PaneDisplayMode="Left">
|
||||||
<muxc:NavigationView.MenuItems>
|
<NavigationView.MenuItems>
|
||||||
<muxc:NavigationViewItem Icon="Play" Content="Menu Item1" Tag="SamplePage1" />
|
<NavigationViewItem Icon="Play" Content="Menu Item1" Tag="SamplePage1" />
|
||||||
<muxc:NavigationViewItem Icon="Save" Content="Menu Item2" Tag="SamplePage2" />
|
<NavigationViewItem Icon="Save" Content="Menu Item2" Tag="SamplePage2" />
|
||||||
<muxc:NavigationViewItem Icon="Refresh" Content="Menu Item3" Tag="SamplePage3" />
|
<NavigationViewItem Icon="Refresh" Content="Menu Item3" Tag="SamplePage3" />
|
||||||
<muxc:NavigationViewItem Icon="Download" Content="Menu Item4" Tag="SamplePage4" />
|
<NavigationViewItem Icon="Download" Content="Menu Item4" Tag="SamplePage4" />
|
||||||
</muxc:NavigationView.MenuItems>
|
</NavigationView.MenuItems>
|
||||||
<Frame x:Name="contentFrame"/>
|
<Frame x:Name="contentFrame"/>
|
||||||
</muxc:NavigationView>
|
</NavigationView>
|
||||||
</Grid>
|
</Grid>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
|
Loading…
Reference in New Issue
Block a user