Skip to content

WindowBackdrop.RemoveBackdrop(Window?) method

Defined in

Type: WindowBackdrop Namespace: CrissCross.WPF.UI.Controls Assembly: CrissCross.WPF.UI.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

Overloads

  • 1. public static bool RemoveBackdrop(Window? window)
  • 2. public static bool RemoveBackdrop(nint hWnd)

1. Overload

public static bool RemoveBackdrop(Window? window)

Summary: Tries to remove backdrop effects if they have been applied to the Window.

Parameters

NameTypeDescription
windowWindow?The window from which the effect should be removed.

Returns: bool -- A bool.

2. Overload

public static bool RemoveBackdrop(nint hWnd)

Summary: Tries to remove all effects if they have been applied to the hWnd.

Parameters

NameTypeDescription
hWndnintPointer to the window handle.

Returns: bool -- A bool.