diff --git a/samples/NotificationFlyoutSample.Host/App.xaml b/samples/NotificationFlyoutSample.Host/App.xaml
index 15ff085..acca37f 100644
--- a/samples/NotificationFlyoutSample.Host/App.xaml
+++ b/samples/NotificationFlyoutSample.Host/App.xaml
@@ -3,4 +3,4 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
-
\ No newline at end of file
+
diff --git a/samples/NotificationFlyoutSample.Host/App.xaml.cs b/samples/NotificationFlyoutSample.Host/App.xaml.cs
index dda90fb..83f9881 100644
--- a/samples/NotificationFlyoutSample.Host/App.xaml.cs
+++ b/samples/NotificationFlyoutSample.Host/App.xaml.cs
@@ -1,4 +1,10 @@
-using System.Windows;
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
namespace NotificationFlyoutSample.Host
{
@@ -8,4 +14,4 @@ namespace NotificationFlyoutSample.Host
public partial class App : Application
{
}
-}
\ No newline at end of file
+}
diff --git a/samples/NotificationFlyoutSample.Host/AssemblyInfo.cs b/samples/NotificationFlyoutSample.Host/AssemblyInfo.cs
index 4f943de..8b5504e 100644
--- a/samples/NotificationFlyoutSample.Host/AssemblyInfo.cs
+++ b/samples/NotificationFlyoutSample.Host/AssemblyInfo.cs
@@ -7,4 +7,4 @@ using System.Windows;
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
//(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
-)]
\ No newline at end of file
+)]
diff --git a/samples/NotificationFlyoutSample.Host/NotificationFlyoutSample.Host.csproj b/samples/NotificationFlyoutSample.Host/NotificationFlyoutSample.Host.csproj
index 92bb23f..0dc79d1 100644
--- a/samples/NotificationFlyoutSample.Host/NotificationFlyoutSample.Host.csproj
+++ b/samples/NotificationFlyoutSample.Host/NotificationFlyoutSample.Host.csproj
@@ -1,15 +1,11 @@
-
+
WinExe
netcoreapp3.1
true
- x64
- uap10.0.19041
+ AnyCPU;x64
NotificationFlyoutSample.Host.Program
- false
- false
- NU1702
@@ -17,8 +13,8 @@
-
+
-
-
+
+
\ No newline at end of file
diff --git a/samples/NotificationFlyoutSample.Host/Program.cs b/samples/NotificationFlyoutSample.Host/Program.cs
index 80b39c0..2501313 100644
--- a/samples/NotificationFlyoutSample.Host/Program.cs
+++ b/samples/NotificationFlyoutSample.Host/Program.cs
@@ -1,5 +1,5 @@
-using NotificationFlyout.Wpf.UI.Controls;
-using System;
+using System;
+using TheXamlGuy.NotificationFlyout.Wpf.UI.Controls;
namespace NotificationFlyoutSample.Host
{
diff --git a/samples/NotificationFlyoutSample.Package/Images/LockScreenLogo.scale-200.png b/samples/NotificationFlyoutSample.Package/Images/LockScreenLogo.scale-200.png
deleted file mode 100644
index 735f57a..0000000
Binary files a/samples/NotificationFlyoutSample.Package/Images/LockScreenLogo.scale-200.png and /dev/null differ
diff --git a/samples/NotificationFlyoutSample.Package/Images/SplashScreen.scale-200.png b/samples/NotificationFlyoutSample.Package/Images/SplashScreen.scale-200.png
deleted file mode 100644
index 023e7f1..0000000
Binary files a/samples/NotificationFlyoutSample.Package/Images/SplashScreen.scale-200.png and /dev/null differ
diff --git a/samples/NotificationFlyoutSample.Package/Images/Square150x150Logo.scale-200.png b/samples/NotificationFlyoutSample.Package/Images/Square150x150Logo.scale-200.png
deleted file mode 100644
index af49fec..0000000
Binary files a/samples/NotificationFlyoutSample.Package/Images/Square150x150Logo.scale-200.png and /dev/null differ
diff --git a/samples/NotificationFlyoutSample.Package/Images/Square44x44Logo.scale-200.png b/samples/NotificationFlyoutSample.Package/Images/Square44x44Logo.scale-200.png
deleted file mode 100644
index ce342a2..0000000
Binary files a/samples/NotificationFlyoutSample.Package/Images/Square44x44Logo.scale-200.png and /dev/null differ
diff --git a/samples/NotificationFlyoutSample.Package/Images/Square44x44Logo.targetsize-24_altform-unplated.png b/samples/NotificationFlyoutSample.Package/Images/Square44x44Logo.targetsize-24_altform-unplated.png
deleted file mode 100644
index f6c02ce..0000000
Binary files a/samples/NotificationFlyoutSample.Package/Images/Square44x44Logo.targetsize-24_altform-unplated.png and /dev/null differ
diff --git a/samples/NotificationFlyoutSample.Package/Images/StoreLogo.png b/samples/NotificationFlyoutSample.Package/Images/StoreLogo.png
deleted file mode 100644
index 7385b56..0000000
Binary files a/samples/NotificationFlyoutSample.Package/Images/StoreLogo.png and /dev/null differ
diff --git a/samples/NotificationFlyoutSample.Package/Images/Wide310x150Logo.scale-200.png b/samples/NotificationFlyoutSample.Package/Images/Wide310x150Logo.scale-200.png
deleted file mode 100644
index 288995b..0000000
Binary files a/samples/NotificationFlyoutSample.Package/Images/Wide310x150Logo.scale-200.png and /dev/null differ
diff --git a/samples/NotificationFlyoutSample.Package/NotificationFlyoutSample.Package.wapproj b/samples/NotificationFlyoutSample.Package/NotificationFlyoutSample.Package.wapproj
deleted file mode 100644
index ceb7788..0000000
--- a/samples/NotificationFlyoutSample.Package/NotificationFlyoutSample.Package.wapproj
+++ /dev/null
@@ -1,83 +0,0 @@
-
-
-
- 15.0
-
-
-
- Debug
- x86
-
-
- Release
- x86
-
-
- Debug
- x64
-
-
- Release
- x64
-
-
- Debug
- ARM
-
-
- Release
- ARM
-
-
- Debug
- ARM64
-
-
- Release
- ARM64
-
-
- Debug
- AnyCPU
-
-
- Release
- AnyCPU
-
-
-
- $(MSBuildExtensionsPath)\Microsoft\DesktopBridge\
-
-
-
- e2f52d15-a3bb-41ce-901c-ab491c50327a
- 10.0.19041.0
- 10.0.19041.0
- en-US
- false
- ..\NotificationFlyoutSample.Host\NotificationFlyoutSample.Host.csproj
-
-
-
- Designer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- True
-
-
-
\ No newline at end of file
diff --git a/samples/NotificationFlyoutSample.Package/Package.appxmanifest b/samples/NotificationFlyoutSample.Package/Package.appxmanifest
deleted file mode 100644
index 21fbe0d..0000000
--- a/samples/NotificationFlyoutSample.Package/Package.appxmanifest
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
-
-
-
- NotificationFlyoutSample.Package
- dan
- Images\StoreLogo.png
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/samples/NotificationFlyoutSample.sln b/samples/NotificationFlyoutSample.sln
index 2667c1c..24e73b0 100644
--- a/samples/NotificationFlyoutSample.sln
+++ b/samples/NotificationFlyoutSample.sln
@@ -3,8 +3,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30914.41
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NotificationFlyoutSample.Host", "NotificationFlyoutSample.Host\NotificationFlyoutSample.Host.csproj", "{D13742AD-DB71-4269-B3AF-7CA8C4E51A19}"
-EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NotificationFlyoutSample", "NotificationFlyoutSample\NotificationFlyoutSample.csproj", "{2057ADE0-C61E-45EE-BB7E-A469FE4D4C41}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1E895953-2231-4ACA-84A6-64F8F57FE86A}"
@@ -12,13 +10,15 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
global.json = global.json
EndProjectSection
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NotificationFlyout.Shared.UI", "..\src\NotificationFlyout.Shared.UI\NotificationFlyout.Shared.UI.csproj", "{5A47C726-FA50-4A16-B639-DEC79B9D365B}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TheXamlGuy.NotificationFlyout.Shared.UI", "..\src\TheXamlGuy.NotificationFlyout.Shared.UI\TheXamlGuy.NotificationFlyout.Shared.UI.csproj", "{DF0630F3-5571-46C5-8D1D-39079BFCEC74}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NotificationFlyout.Uwp.UI.Controls", "..\src\NotificationFlyout.Uwp.UI.Controls\NotificationFlyout.Uwp.UI.Controls.csproj", "{197A7AC8-6F6B-48D4-A95B-9AE9E2008817}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TheXamlGuy.NotificationFlyout.Uwp.UI.Controls", "..\src\TheXamlGuy.NotificationFlyout.Uwp.UI.Controls\TheXamlGuy.NotificationFlyout.Uwp.UI.Controls.csproj", "{8501316D-F994-4A29-9EC4-DC6C6B93F565}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NotificationFlyout.Wpf.UI", "..\src\NotificationFlyout.Wpf.UI\NotificationFlyout.Wpf.UI.csproj", "{3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TheXamlGuy.NotificationFlyout.Wpf.UI", "..\src\TheXamlGuy.NotificationFlyout.Wpf.UI\TheXamlGuy.NotificationFlyout.Wpf.UI.csproj", "{6501E7B8-2DC1-4971-9AD5-76945F48E773}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NotificationFlyout.Wpf.UI.Controls", "..\src\NotificationFlyout.Wpf.UI.Controls\NotificationFlyout.Wpf.UI.Controls.csproj", "{DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TheXamlGuy.NotificationFlyout.Wpf.UI.Controls", "..\src\TheXamlGuy.NotificationFlyout.Wpf.UI.Controls\TheXamlGuy.NotificationFlyout.Wpf.UI.Controls.csproj", "{0310655E-5620-4B6B-81E5-8155EB04C2A6}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NotificationFlyoutSample.Host", "NotificationFlyoutSample.Host\NotificationFlyoutSample.Host.csproj", "{591F26F7-C057-434A-B612-AEB37B1234AE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -34,26 +34,6 @@ Global
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Debug|Any CPU.ActiveCfg = Debug|x64
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Debug|Any CPU.Build.0 = Debug|x64
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Debug|ARM.ActiveCfg = Debug|Any CPU
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Debug|ARM.Build.0 = Debug|Any CPU
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Debug|ARM64.ActiveCfg = Debug|Any CPU
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Debug|ARM64.Build.0 = Debug|Any CPU
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Debug|x64.ActiveCfg = Debug|x64
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Debug|x64.Build.0 = Debug|x64
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Debug|x86.ActiveCfg = Debug|Any CPU
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Debug|x86.Build.0 = Debug|Any CPU
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Release|Any CPU.Build.0 = Release|Any CPU
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Release|ARM.ActiveCfg = Release|Any CPU
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Release|ARM.Build.0 = Release|Any CPU
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Release|ARM64.ActiveCfg = Release|Any CPU
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Release|ARM64.Build.0 = Release|Any CPU
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Release|x64.ActiveCfg = Release|Any CPU
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Release|x64.Build.0 = Release|Any CPU
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Release|x86.ActiveCfg = Release|Any CPU
- {D13742AD-DB71-4269-B3AF-7CA8C4E51A19}.Release|x86.Build.0 = Release|Any CPU
{2057ADE0-C61E-45EE-BB7E-A469FE4D4C41}.Debug|Any CPU.ActiveCfg = Debug|x64
{2057ADE0-C61E-45EE-BB7E-A469FE4D4C41}.Debug|Any CPU.Build.0 = Debug|x64
{2057ADE0-C61E-45EE-BB7E-A469FE4D4C41}.Debug|ARM.ActiveCfg = Debug|ARM
@@ -81,86 +61,106 @@ Global
{2057ADE0-C61E-45EE-BB7E-A469FE4D4C41}.Release|x86.ActiveCfg = Release|x86
{2057ADE0-C61E-45EE-BB7E-A469FE4D4C41}.Release|x86.Build.0 = Release|x86
{2057ADE0-C61E-45EE-BB7E-A469FE4D4C41}.Release|x86.Deploy.0 = Release|x86
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Debug|ARM.ActiveCfg = Debug|Any CPU
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Debug|ARM.Build.0 = Debug|Any CPU
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Debug|ARM64.ActiveCfg = Debug|Any CPU
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Debug|ARM64.Build.0 = Debug|Any CPU
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Debug|x64.ActiveCfg = Debug|x64
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Debug|x64.Build.0 = Debug|x64
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Debug|x86.ActiveCfg = Debug|Any CPU
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Debug|x86.Build.0 = Debug|Any CPU
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Release|Any CPU.Build.0 = Release|Any CPU
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Release|ARM.ActiveCfg = Release|Any CPU
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Release|ARM.Build.0 = Release|Any CPU
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Release|ARM64.ActiveCfg = Release|Any CPU
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Release|ARM64.Build.0 = Release|Any CPU
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Release|x64.ActiveCfg = Release|Any CPU
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Release|x64.Build.0 = Release|Any CPU
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Release|x86.ActiveCfg = Release|Any CPU
- {5A47C726-FA50-4A16-B639-DEC79B9D365B}.Release|x86.Build.0 = Release|Any CPU
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Debug|ARM.ActiveCfg = Debug|Any CPU
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Debug|ARM.Build.0 = Debug|Any CPU
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Debug|ARM64.ActiveCfg = Debug|Any CPU
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Debug|ARM64.Build.0 = Debug|Any CPU
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Debug|x64.ActiveCfg = Debug|x64
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Debug|x64.Build.0 = Debug|x64
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Debug|x86.ActiveCfg = Debug|Any CPU
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Debug|x86.Build.0 = Debug|Any CPU
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Release|Any CPU.Build.0 = Release|Any CPU
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Release|ARM.ActiveCfg = Release|Any CPU
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Release|ARM.Build.0 = Release|Any CPU
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Release|ARM64.ActiveCfg = Release|Any CPU
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Release|ARM64.Build.0 = Release|Any CPU
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Release|x64.ActiveCfg = Release|x64
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Release|x64.Build.0 = Release|x64
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Release|x86.ActiveCfg = Release|Any CPU
- {197A7AC8-6F6B-48D4-A95B-9AE9E2008817}.Release|x86.Build.0 = Release|Any CPU
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Debug|ARM.ActiveCfg = Debug|Any CPU
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Debug|ARM.Build.0 = Debug|Any CPU
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Debug|ARM64.ActiveCfg = Debug|Any CPU
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Debug|ARM64.Build.0 = Debug|Any CPU
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Debug|x64.ActiveCfg = Debug|x64
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Debug|x64.Build.0 = Debug|x64
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Debug|x86.ActiveCfg = Debug|Any CPU
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Debug|x86.Build.0 = Debug|Any CPU
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Release|Any CPU.Build.0 = Release|Any CPU
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Release|ARM.ActiveCfg = Release|Any CPU
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Release|ARM.Build.0 = Release|Any CPU
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Release|ARM64.ActiveCfg = Release|Any CPU
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Release|ARM64.Build.0 = Release|Any CPU
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Release|x64.ActiveCfg = Release|x64
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Release|x64.Build.0 = Release|x64
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Release|x86.ActiveCfg = Release|Any CPU
- {3222D603-00E9-4C00-BDA3-B2F33AFDE4BB}.Release|x86.Build.0 = Release|Any CPU
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Debug|ARM.ActiveCfg = Debug|Any CPU
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Debug|ARM.Build.0 = Debug|Any CPU
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Debug|ARM64.ActiveCfg = Debug|Any CPU
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Debug|ARM64.Build.0 = Debug|Any CPU
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Debug|x64.ActiveCfg = Debug|x64
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Debug|x64.Build.0 = Debug|x64
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Debug|x86.ActiveCfg = Debug|Any CPU
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Debug|x86.Build.0 = Debug|Any CPU
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Release|Any CPU.Build.0 = Release|Any CPU
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Release|ARM.ActiveCfg = Release|Any CPU
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Release|ARM.Build.0 = Release|Any CPU
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Release|ARM64.ActiveCfg = Release|Any CPU
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Release|ARM64.Build.0 = Release|Any CPU
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Release|x64.ActiveCfg = Release|x64
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Release|x64.Build.0 = Release|x64
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Release|x86.ActiveCfg = Release|Any CPU
- {DEEF73AF-26B6-46BE-B824-0FDF0EE671F3}.Release|x86.Build.0 = Release|Any CPU
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Debug|Any CPU.ActiveCfg = Debug|x64
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Debug|Any CPU.Build.0 = Debug|x64
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Debug|ARM.ActiveCfg = Debug|Any CPU
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Debug|ARM.Build.0 = Debug|Any CPU
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Debug|ARM64.ActiveCfg = Debug|Any CPU
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Debug|ARM64.Build.0 = Debug|Any CPU
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Debug|x64.ActiveCfg = Debug|x64
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Debug|x64.Build.0 = Debug|x64
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Debug|x86.Build.0 = Debug|Any CPU
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Release|Any CPU.Build.0 = Release|Any CPU
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Release|ARM.ActiveCfg = Release|Any CPU
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Release|ARM.Build.0 = Release|Any CPU
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Release|ARM64.ActiveCfg = Release|Any CPU
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Release|ARM64.Build.0 = Release|Any CPU
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Release|x64.ActiveCfg = Release|x64
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Release|x64.Build.0 = Release|x64
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Release|x86.ActiveCfg = Release|Any CPU
+ {DF0630F3-5571-46C5-8D1D-39079BFCEC74}.Release|x86.Build.0 = Release|Any CPU
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Debug|Any CPU.ActiveCfg = Debug|x64
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Debug|Any CPU.Build.0 = Debug|x64
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Debug|ARM.ActiveCfg = Debug|Any CPU
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Debug|ARM.Build.0 = Debug|Any CPU
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Debug|ARM64.ActiveCfg = Debug|Any CPU
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Debug|ARM64.Build.0 = Debug|Any CPU
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Debug|x64.ActiveCfg = Debug|x64
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Debug|x64.Build.0 = Debug|x64
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Debug|x86.Build.0 = Debug|Any CPU
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Release|ARM.ActiveCfg = Release|Any CPU
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Release|ARM.Build.0 = Release|Any CPU
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Release|ARM64.ActiveCfg = Release|Any CPU
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Release|ARM64.Build.0 = Release|Any CPU
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Release|x64.ActiveCfg = Release|x64
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Release|x64.Build.0 = Release|x64
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Release|x86.ActiveCfg = Release|Any CPU
+ {8501316D-F994-4A29-9EC4-DC6C6B93F565}.Release|x86.Build.0 = Release|Any CPU
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Debug|Any CPU.ActiveCfg = Debug|x64
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Debug|Any CPU.Build.0 = Debug|x64
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Debug|ARM.ActiveCfg = Debug|Any CPU
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Debug|ARM.Build.0 = Debug|Any CPU
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Debug|ARM64.ActiveCfg = Debug|Any CPU
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Debug|ARM64.Build.0 = Debug|Any CPU
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Debug|x64.ActiveCfg = Debug|x64
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Debug|x64.Build.0 = Debug|x64
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Debug|x86.Build.0 = Debug|Any CPU
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Release|ARM.ActiveCfg = Release|Any CPU
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Release|ARM.Build.0 = Release|Any CPU
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Release|ARM64.ActiveCfg = Release|Any CPU
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Release|ARM64.Build.0 = Release|Any CPU
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Release|x64.ActiveCfg = Release|x64
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Release|x64.Build.0 = Release|x64
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Release|x86.ActiveCfg = Release|Any CPU
+ {6501E7B8-2DC1-4971-9AD5-76945F48E773}.Release|x86.Build.0 = Release|Any CPU
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Debug|Any CPU.ActiveCfg = Debug|x64
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Debug|Any CPU.Build.0 = Debug|x64
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Debug|ARM.ActiveCfg = Debug|Any CPU
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Debug|ARM.Build.0 = Debug|Any CPU
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Debug|ARM64.ActiveCfg = Debug|Any CPU
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Debug|ARM64.Build.0 = Debug|Any CPU
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Debug|x64.ActiveCfg = Debug|x64
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Debug|x64.Build.0 = Debug|x64
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Debug|x86.Build.0 = Debug|Any CPU
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Release|ARM.ActiveCfg = Release|Any CPU
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Release|ARM.Build.0 = Release|Any CPU
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Release|ARM64.ActiveCfg = Release|Any CPU
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Release|ARM64.Build.0 = Release|Any CPU
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Release|x64.ActiveCfg = Release|x64
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Release|x64.Build.0 = Release|x64
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Release|x86.ActiveCfg = Release|Any CPU
+ {0310655E-5620-4B6B-81E5-8155EB04C2A6}.Release|x86.Build.0 = Release|Any CPU
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Debug|Any CPU.ActiveCfg = Debug|x64
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Debug|Any CPU.Build.0 = Debug|x64
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Debug|ARM.ActiveCfg = Debug|Any CPU
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Debug|ARM.Build.0 = Debug|Any CPU
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Debug|ARM64.ActiveCfg = Debug|Any CPU
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Debug|ARM64.Build.0 = Debug|Any CPU
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Debug|x64.ActiveCfg = Debug|x64
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Debug|x64.Build.0 = Debug|x64
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Debug|x86.Build.0 = Debug|Any CPU
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Release|Any CPU.Build.0 = Release|Any CPU
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Release|ARM.ActiveCfg = Release|Any CPU
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Release|ARM.Build.0 = Release|Any CPU
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Release|ARM64.ActiveCfg = Release|Any CPU
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Release|ARM64.Build.0 = Release|Any CPU
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Release|x64.ActiveCfg = Release|Any CPU
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Release|x64.Build.0 = Release|Any CPU
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Release|x86.ActiveCfg = Release|Any CPU
+ {591F26F7-C057-434A-B612-AEB37B1234AE}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/samples/NotificationFlyoutSample/NotificationFlyoutSample.csproj b/samples/NotificationFlyoutSample/NotificationFlyoutSample.csproj
index 1d8e753..4d99e11 100644
--- a/samples/NotificationFlyoutSample/NotificationFlyoutSample.csproj
+++ b/samples/NotificationFlyoutSample/NotificationFlyoutSample.csproj
@@ -172,13 +172,13 @@
-
- {197a7ac8-6f6b-48d4-a95b-9ae9e2008817}
- NotificationFlyout.Uwp.UI.Controls
+
+ {7d6a151b-c021-4d34-adc1-0171a2f65a00}
+ TheXamlGuy.NotificationFlyout.Shared.UI
-
- {197a7ac8-6f6b-48d4-a95b-9ae9e2008817}
- NotificationFlyout.Shared.UI
+
+ {8501316d-f994-4a29-9ec4-dc6c6b93f565}
+ TheXamlGuy.NotificationFlyout.Uwp.UI.Controls
diff --git a/samples/NotificationFlyoutSample/Shell.xaml b/samples/NotificationFlyoutSample/Shell.xaml
index b1cfc88..fcace13 100644
--- a/samples/NotificationFlyoutSample/Shell.xaml
+++ b/samples/NotificationFlyoutSample/Shell.xaml
@@ -2,7 +2,7 @@
x:Class="NotificationFlyoutSample.Shell"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:controls="using:NotificationFlyout.Uwp.UI.Controls"
+ xmlns:controls="using:TheXamlGuy.NotificationFlyout.Uwp.UI.Controls"
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
IconSource="/Assets/Icon.ico"
LightIconSource="/Assets/Icon-Light.ico">
diff --git a/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutContextMenuFlyoutHost.cs b/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutContextMenuFlyoutHost.cs
deleted file mode 100644
index 7c98ee4..0000000
--- a/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutContextMenuFlyoutHost.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-using System.Collections.Specialized;
-using System.Linq;
-using Windows.UI.Xaml.Controls;
-using Windows.UI.Xaml.Controls.Primitives;
-
-namespace NotificationFlyout.Uwp.UI.Controls
-{
- internal class NotificationFlyoutContextMenuFlyoutHost : Control
- {
- private NotificationFlyout _flyout;
- private MenuFlyout _menuFlyout;
- private Grid _root;
-
- public NotificationFlyoutContextMenuFlyoutHost() => DefaultStyleKey = typeof(NotificationFlyoutContextMenuFlyoutHost);
-
- public void HideFlyout()
- {
- if (_menuFlyout == null) return;
- _menuFlyout.Hide();
- }
-
- public void ShowFlyout()
- {
- if (_root == null) return;
- if (_menuFlyout == null) return;
-
- _menuFlyout.ShowAt(_root, new FlyoutShowOptions
- {
- Placement = FlyoutPlacementMode.BottomEdgeAlignedLeft,
- ShowMode = FlyoutShowMode.TransientWithDismissOnPointerMoveAway
- });
- }
-
- internal void SetOwningFlyout(NotificationFlyout flyout)
- {
- if (_flyout != null)
- {
- (_flyout.ContextMenu.MenuItems as INotifyCollectionChanged).CollectionChanged -= OnContextMenuItemsChanged;
- }
-
- _flyout = flyout;
-
- var contextMenu = _flyout.ContextMenu;
- if (contextMenu == null) return;
-
- (contextMenu.MenuItems as INotifyCollectionChanged).CollectionChanged += OnContextMenuItemsChanged;
-
- PrepareMenuItems();
- }
-
- protected override void OnApplyTemplate()
- {
- _root = GetTemplateChild("Root") as Grid;
- _menuFlyout = GetTemplateChild("Flyout") as MenuFlyout;
-
- PrepareMenuItems();
- }
-
- private void OnContextMenuItemsChanged(object sender, NotifyCollectionChangedEventArgs args)
- {
- if (_flyout == null) return;
-
- var contextMenu = _flyout.ContextMenu;
- if (contextMenu == null) return;
-
- var addedItems = args.NewItems.Cast().ToList();
- var removedItems = args.NewItems.Cast().ToList();
-
- if (removedItems != null)
- {
- foreach (var item in removedItems)
- {
- _menuFlyout.Items.Remove(item);
- }
- }
-
- foreach (var item in addedItems)
- {
- _menuFlyout.Items.Add(item);
- }
- }
-
- private void PrepareMenuItems()
- {
- if (_menuFlyout == null) return;
- if (_flyout == null) return;
-
- var contextMenu = _flyout.ContextMenu;
- if (contextMenu == null) return;
-
- _menuFlyout.Items.Clear();
-
- var items = contextMenu.MenuItems;
- foreach (var item in items)
- {
- _menuFlyout.Items.Add(item);
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutContextMenuFlyoutHost.xaml b/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutContextMenuFlyoutHost.xaml
deleted file mode 100644
index c891b96..0000000
--- a/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutContextMenuFlyoutHost.xaml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutHost.cs b/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutHost.cs
deleted file mode 100644
index 47d6b96..0000000
--- a/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutHost.cs
+++ /dev/null
@@ -1,148 +0,0 @@
-using System.Numerics;
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Controls;
-using Windows.UI.Xaml.Controls.Primitives;
-using Windows.UI.Xaml.Data;
-using Windows.UI.Xaml.Media;
-
-namespace NotificationFlyout.Uwp.UI.Controls
-{
- internal class NotificationFlyoutHost : Control
- {
- public static readonly DependencyProperty ContentProperty =
- DependencyProperty.Register(nameof(Content),
- typeof(UIElement), typeof(NotificationFlyoutHost),
- new PropertyMetadata(null));
-
- public static readonly DependencyProperty FlyoutPresenterStyleProperty =
- DependencyProperty.Register(nameof(FlyoutPresenterStyle),
- typeof(Style), typeof(NotificationFlyoutHost),
- new PropertyMetadata(null));
-
- private Flyout _flyout;
- private bool _isLoaded;
- private NotificationFlyout _notificationFlyout;
- private string _placement;
- private Grid _root;
-
- public NotificationFlyoutHost() => DefaultStyleKey = typeof(NotificationFlyoutHost);
-
- public UIElement Content
- {
- get => (UIElement)GetValue(ContentProperty);
- set => SetValue(ContentProperty, value);
- }
-
- public Style FlyoutPresenterStyle
- {
- get => (Style)GetValue(FlyoutPresenterStyleProperty);
- set => SetValue(FlyoutPresenterStyleProperty, value);
- }
-
- public void HideFlyout()
- {
- if (_root == null) return;
- FlyoutBase flyout = FlyoutBase.GetAttachedFlyout(_root);
- flyout.Hide();
- }
-
- internal void UpdateThemeVisualState()
- {
-
- }
-
- public void SetFlyoutPlacement(string placement)
- {
- if (!_isLoaded)
- {
- _placement = placement;
- }
-
- if (string.IsNullOrEmpty(placement)) return;
- VisualStateManager.GoToState(this, placement, true);
- }
-
- public void ShowFlyout(FlyoutPlacementMode placementMode)
- {
- if (_root == null) return;
- var flyout = FlyoutBase.GetAttachedFlyout(_root);
- flyout.ShowAt(_root, new FlyoutShowOptions
- {
- Placement = placementMode,
- ShowMode = FlyoutShowMode.Transient,
- });
- }
-
- internal void SetOwningFlyout(NotificationFlyout flyout)
- {
- _notificationFlyout = flyout;
-
- BindingOperations.SetBinding(this, ContentProperty,
- new Binding
- {
- Source = _notificationFlyout,
- Path =
- new PropertyPath(nameof(Content)),
- Mode = BindingMode.TwoWay
- });
-
- BindingOperations.SetBinding(this, RequestedThemeProperty,
- new Binding
- {
- Source = _notificationFlyout,
- Path = new PropertyPath(nameof(RequestedTheme)),
- Mode = BindingMode.TwoWay
- });
-
- BindingOperations.SetBinding(this, FlyoutPresenterStyleProperty,
- new Binding
- {
- Source = _notificationFlyout,
- Path = new PropertyPath(nameof(FlyoutPresenterStyle)),
- Mode = BindingMode.TwoWay
- });
- }
-
- private NotificationFlyoutPresenter _flyoutPresenter;
-
- protected override void OnApplyTemplate()
- {
- _flyoutPresenter = GetTemplateChild("FlyoutPresenter") as NotificationFlyoutPresenter;
-
- _flyout = GetTemplateChild("Flyout") as Flyout;
- if (_flyout != null)
- {
- _flyout.Closing -= OnFlyoutClosing;
- _flyout.Closed -= OnFlyoutClosed;
- _flyout.Opening -= OnFlyoutOpening;
- _flyout.Opened -= OnFlyoutOpened;
-
- _flyout.Closing += OnFlyoutClosing;
- _flyout.Closed += OnFlyoutClosed;
- _flyout.Opening += OnFlyoutOpening;
- _flyout.Opened += OnFlyoutOpened;
- }
-
- _root = GetTemplateChild("Root") as Grid;
- if (GetTemplateChild("ContentRoot") is Grid contentRoot)
- {
- contentRoot.Shadow = new ThemeShadow();
-
- var currentTranslation = contentRoot.Translation;
- var translation = new Vector3(currentTranslation.X, currentTranslation.Y, 16.0f);
- contentRoot.Translation = translation;
- }
-
- _isLoaded = true;
- SetFlyoutPlacement(_placement);
- }
-
- private void OnFlyoutClosed(object sender, object args) => _notificationFlyout?.InvokeClosedEvent(args);
-
- private void OnFlyoutClosing(FlyoutBase sender, FlyoutBaseClosingEventArgs args) => _notificationFlyout?.InvokeClosingEvent(new NotificationFlyoutClosingEventArgs());
-
- private void OnFlyoutOpened(object sender, object args) => _notificationFlyout?.InvokeOpenedEvent(args);
-
- private void OnFlyoutOpening(object sender, object args) => _notificationFlyout?.InvokeOpeningEvent(args);
- }
-}
\ No newline at end of file
diff --git a/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutHost.xaml b/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutHost.xaml
deleted file mode 100644
index e792122..0000000
--- a/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutHost.xaml
+++ /dev/null
@@ -1,107 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutMenuItemsChangedEventArgs.cs b/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutMenuItemsChangedEventArgs.cs
deleted file mode 100644
index ee834ec..0000000
--- a/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutMenuItemsChangedEventArgs.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-using System;
-using System.Collections.Generic;
-using Windows.UI.Xaml.Controls;
-
-namespace NotificationFlyout.Uwp.UI.Controls
-{
- internal class NotificationFlyoutMenuItemsChangedEventArgs : EventArgs
- {
- public NotificationFlyoutMenuItemsChangedEventArgs(IList addedItems, IList removedItems)
- {
- AddedItems = addedItems;
- RemovedItems = removedItems;
- }
-
- public IList AddedItems { get; private set; }
-
- public IList RemovedItems { get; private set; }
- }
-}
\ No newline at end of file
diff --git a/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutPresenter.cs b/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutPresenter.cs
deleted file mode 100644
index f850c0e..0000000
--- a/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutPresenter.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-using Windows.UI.Xaml.Controls;
-
-namespace NotificationFlyout.Uwp.UI.Controls
-{
- public class NotificationFlyoutPresenter : ContentControl
- {
- public NotificationFlyoutPresenter() => DefaultStyleKey = typeof(NotificationFlyoutPresenter);
- }
-}
\ No newline at end of file
diff --git a/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutPresenter.xaml b/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutPresenter.xaml
deleted file mode 100644
index 0c40868..0000000
--- a/src/TheXamlGuy.NotificationFlyout.Uwp.UI.Controls/NotificationFlyout/NotificationFlyoutPresenter.xaml
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file