Added API for opening a window from flyout w/ sample
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<UserControl
|
||||
x:Class="NotificationFlyoutSample.WindowContent"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:muxc="using:Microsoft.UI.Xaml.Controls">
|
||||
<muxc:NavigationView x:Name="nvSample">
|
||||
<muxc:NavigationView.MenuItems>
|
||||
<muxc:NavigationViewItem
|
||||
Content="Menu Item1"
|
||||
Icon="Play"
|
||||
Tag="SamplePage1" />
|
||||
<muxc:NavigationViewItem
|
||||
Content="Menu Item2"
|
||||
Icon="Save"
|
||||
Tag="SamplePage2" />
|
||||
<muxc:NavigationViewItem
|
||||
Content="Menu Item3"
|
||||
Icon="Refresh"
|
||||
Tag="SamplePage3" />
|
||||
<muxc:NavigationViewItem
|
||||
Content="Menu Item4"
|
||||
Icon="Download"
|
||||
Tag="SamplePage4" />
|
||||
</muxc:NavigationView.MenuItems>
|
||||
<Frame x:Name="contentFrame" />
|
||||
</muxc:NavigationView>
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user