Class WindowBackdrop
Applies the chosen backdrop effect to the selected window.
public static class WindowBackdrop
- Inheritance
-
WindowBackdrop
- Inherited Members
Methods
ApplyBackdrop(IntPtr, WindowBackdropType)
Applies backdrop effect to the selected window handle based on the specified backdrop type.
public static bool ApplyBackdrop(IntPtr hWnd, WindowBackdropType backdropType)
Parameters
hWndIntPtrThe window handle to which the backdrop effect will be applied.
backdropTypeWindowBackdropTypeThe type of backdrop effect to apply. This determines the visual appearance of the window's backdrop.
Returns
ApplyBackdrop(Window?, WindowBackdropType)
Applies a backdrop effect to the selected Window.
public static bool ApplyBackdrop(Window? window, WindowBackdropType backdropType)
Parameters
windowWindowThe window to which the backdrop effect will be applied.
backdropTypeWindowBackdropTypeThe type of backdrop effect to apply. Determines the visual appearance of the window's backdrop.
Returns
IsSupported(WindowBackdropType)
Checks whether the selected backdrop type is supported on current platform.
public static bool IsSupported(WindowBackdropType backdropType)
Parameters
backdropTypeWindowBackdropType
Returns
RemoveBackdrop(IntPtr)
Tries to remove all effects if they have been applied to the hWnd.
public static bool RemoveBackdrop(IntPtr hWnd)
Parameters
hWndIntPtrPointer to the window handle.
Returns
RemoveBackdrop(Window?)
Tries to remove backdrop effects if they have been applied to the Window.
public static bool RemoveBackdrop(Window? window)
Parameters
windowWindowThe window from which the effect should be removed.
Returns
RemoveBackground(Window?)
Tries to remove background from Window and it's composition area.
public static bool RemoveBackground(Window? window)
Parameters
windowWindowWindow to manipulate.
Returns
RemoveTitlebarBackground(Window?)
public static bool RemoveTitlebarBackground(Window? window)
Parameters
windowWindow