can now debug project directly
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
namespace NotificationFlyout.Sample.Uwp
|
||||
{
|
||||
public sealed partial class NotificationFlyoutPresenter
|
||||
{
|
||||
public NotificationFlyoutPresenter()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void test_SelectionChanged(object sender, Windows.UI.Xaml.Controls.SelectionChangedEventArgs e)
|
||||
{
|
||||
if (test.SelectedIndex == 0)
|
||||
{
|
||||
this.RequestedTheme = Windows.UI.Xaml.ElementTheme.Default;
|
||||
|
||||
}
|
||||
|
||||
if (test.SelectedIndex == 1)
|
||||
{
|
||||
this.RequestedTheme = Windows.UI.Xaml.ElementTheme.Dark;
|
||||
|
||||
}
|
||||
|
||||
if (test.SelectedIndex == 2)
|
||||
{
|
||||
this.RequestedTheme = Windows.UI.Xaml.ElementTheme.Light;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user