diff --git a/WinUIGallery/ControlPages/SystemBackdropsPage.xaml b/WinUIGallery/ControlPages/SystemBackdropsPage.xaml index 198954ca3..28d5bed56 100644 --- a/WinUIGallery/ControlPages/SystemBackdropsPage.xaml +++ b/WinUIGallery/ControlPages/SystemBackdropsPage.xaml @@ -50,6 +50,11 @@ + + + + diff --git a/WinUIGallery/ControlPages/SystemBackdropsPage.xaml.cs b/WinUIGallery/ControlPages/SystemBackdropsPage.xaml.cs index 9b5595bcd..c62db42d3 100644 --- a/WinUIGallery/ControlPages/SystemBackdropsPage.xaml.cs +++ b/WinUIGallery/ControlPages/SystemBackdropsPage.xaml.cs @@ -43,5 +43,12 @@ private void createBuiltInAcrylicWindow_Click(object sender, RoutedEventArgs e) newWindow.SetBackdrop(AppUIBasics.SamplePages.SampleSystemBackdropsWindow.BackdropType.DesktopAcrylicBase); newWindow.Activate(); } + + private void createCustomDesktopAcrylicWindow_Click(object sender, RoutedEventArgs e) + { + var newWindow = new AppUIBasics.SamplePages.SampleSystemBackdropsWindow(); + newWindow.SetBackdrop(AppUIBasics.SamplePages.SampleSystemBackdropsWindow.BackdropType.DesktopAcrylicBase); + newWindow.Activate(); + } } }