Move *everything* from setting flyout content and the flyout icons to a UWP control and simplified creation of the wpf host via a NotificationFlyoutApplication where you only need to set the UWP flyout

This commit is contained in:
Daniel Clark
2021-02-10 11:49:16 +00:00
parent 083c7b9365
commit b5b8641527
27 changed files with 315 additions and 166 deletions
+12 -12
View File
@@ -9,18 +9,18 @@
private void Theme_SelectionChanged(object sender, Windows.UI.Xaml.Controls.SelectionChangedEventArgs e)
{
switch (Theme.SelectedIndex)
{
case 0:
RequestedTheme = Windows.UI.Xaml.ElementTheme.Default;
break;
case 1:
RequestedTheme = Windows.UI.Xaml.ElementTheme.Dark;
break;
case 2:
RequestedTheme = Windows.UI.Xaml.ElementTheme.Light;
break;
}
//switch (Theme.SelectedIndex)
//{
// case 0:
// RequestedTheme = Windows.UI.Xaml.ElementTheme.Default;
// break;
// case 1:
// RequestedTheme = Windows.UI.Xaml.ElementTheme.Dark;
// break;
// case 2:
// RequestedTheme = Windows.UI.Xaml.ElementTheme.Light;
// break;
//}
}
}
}