using non-winui navview for stability, fixed revert error on runner's csproj

This commit is contained in:
Clint Rutkas 2020-03-11 10:24:57 -07:00 committed by Lavius Motileng
parent 8433119ac9
commit e2c7941542
2 changed files with 9 additions and 8 deletions

View File

@ -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>

View File

@ -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>