26 references to WindowBackdropType
PresentationFramework (26)
System\Windows\Appearance\WindowBackdropManager.cs (17)
12internal static bool IsSupported(WindowBackdropType backdropType) 16WindowBackdropType.Auto => Utility.IsWindows11_22H2OrNewer, 17WindowBackdropType.TabbedWindow => Utility.IsWindows11_22H2OrNewer, 18WindowBackdropType.MainWindow => Utility.IsOSWindows11OrNewer, 19WindowBackdropType.TransientWindow => Utility.IsOSWindows7OrNewer, 20WindowBackdropType.None => true, 25internal static bool SetBackdrop(Window window, WindowBackdropType backdropType) 51private static bool SetBackdropCore(IntPtr hwnd, WindowBackdropType backdropType) 58if (backdropType == WindowBackdropType.None) 68private static bool ApplyBackdrop(IntPtr hwnd, WindowBackdropType backdropType) 74WindowBackdropType.Auto => Standard.DWMSBT.DWMSBT_TABBEDWINDOW, 75WindowBackdropType.TabbedWindow => Standard.DWMSBT.DWMSBT_TABBEDWINDOW, 76WindowBackdropType.MainWindow => Standard.DWMSBT.DWMSBT_MAINWINDOW, 77WindowBackdropType.TransientWindow => Standard.DWMSBT.DWMSBT_TRANSIENTWINDOW, 87UpdateGlassFrame(hwnd, WindowBackdropType.None); 123private static bool UpdateGlassFrame(IntPtr hwnd, WindowBackdropType backdropType) 126if (backdropType != WindowBackdropType.None)
System\Windows\ThemeManager.cs (4)
269WindowBackdropManager.SetBackdrop(window, WindowBackdropType.MainWindow); 275WindowBackdropManager.SetBackdrop(window, WindowBackdropType.None); 295WindowBackdropManager.SetBackdrop(window, WindowBackdropType.None); 299WindowBackdropManager.SetBackdrop(window, WindowBackdropType.MainWindow);
System\Windows\Window.cs (5)
3128internal WindowBackdropType WindowBackdropType 3130get => (WindowBackdropType)GetValue(WindowBackdropTypeProperty); 3139typeof(WindowBackdropType), 3142WindowBackdropType.MainWindow, 3157WindowBackdropManager.SetBackdrop(window, (WindowBackdropType)e.NewValue);