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:
@@ -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;
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user