26 references to WindowBackdropType
PresentationFramework (26)
System\Windows\Appearance\WindowBackdropManager.cs (17)
13internal static bool IsSupported(WindowBackdropType backdropType) 17WindowBackdropType.Auto => Utility.IsWindows11_22H2OrNewer, 18WindowBackdropType.TabbedWindow => Utility.IsWindows11_22H2OrNewer, 19WindowBackdropType.MainWindow => Utility.IsOSWindows11OrNewer, 20WindowBackdropType.TransientWindow => Utility.IsOSWindows7OrNewer, 21WindowBackdropType.None => true, 26internal static bool SetBackdrop(Window window, WindowBackdropType backdropType) 52private static bool SetBackdropCore(IntPtr hwnd, WindowBackdropType backdropType) 59if (backdropType == WindowBackdropType.None) 69private static bool ApplyBackdrop(IntPtr hwnd, WindowBackdropType backdropType) 75WindowBackdropType.Auto => Standard.DWMSBT.DWMSBT_TABBEDWINDOW, 76WindowBackdropType.TabbedWindow => Standard.DWMSBT.DWMSBT_TABBEDWINDOW, 77WindowBackdropType.MainWindow => Standard.DWMSBT.DWMSBT_MAINWINDOW, 78WindowBackdropType.TransientWindow => Standard.DWMSBT.DWMSBT_TRANSIENTWINDOW, 88UpdateGlassFrame(hwnd, WindowBackdropType.None); 124private static bool UpdateGlassFrame(IntPtr hwnd, WindowBackdropType backdropType) 127if (backdropType != WindowBackdropType.None)
System\Windows\ThemeManager.cs (4)
278WindowBackdropManager.SetBackdrop(window, WindowBackdropType.MainWindow); 284WindowBackdropManager.SetBackdrop(window, WindowBackdropType.None); 304WindowBackdropManager.SetBackdrop(window, WindowBackdropType.None); 308WindowBackdropManager.SetBackdrop(window, WindowBackdropType.MainWindow);
System\Windows\Window.cs (5)
3148internal WindowBackdropType WindowBackdropType 3150get => (WindowBackdropType)GetValue(WindowBackdropTypeProperty); 3159typeof(WindowBackdropType), 3162WindowBackdropType.MainWindow, 3177WindowBackdropManager.SetBackdrop(window, (WindowBackdropType)e.NewValue);