[WIP] Add context menu support
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using NotificationFlyout.Wpf.UI.Controls;
|
||||
using System;
|
||||
|
||||
namespace NotificationFlyoutSample.Host
|
||||
{
|
||||
@@ -10,7 +11,10 @@ namespace NotificationFlyoutSample.Host
|
||||
using (new NotificationFlyoutSample.App())
|
||||
{
|
||||
var app = new App();
|
||||
new SampleNotificationFlyout();
|
||||
new NotificationFlyoutApplication
|
||||
{
|
||||
Flyout = new Shell()
|
||||
};
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
<NotificationFlyout
|
||||
x:Class="NotificationFlyoutSample.Host.SampleNotificationFlyout"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:uwp="clr-namespace:NotificationFlyoutSample;assembly=NotificationFlyoutSample"
|
||||
IconSource="/Assets/Icon.ico"
|
||||
LightIconSource="/Assets/Icon-Light.ico">
|
||||
<uwp:Shell />
|
||||
</NotificationFlyout>
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
namespace NotificationFlyoutSample.Host
|
||||
{
|
||||
public partial class SampleNotificationFlyout
|
||||
{
|
||||
public SampleNotificationFlyout()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user