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