UnsafeNativeMethods.ApplyWindowBackdrop(nint, WindowBackdropType) method¶
Defined in
Type: UnsafeNativeMethods
Namespace: CrissCross.WPF.UI.Interop
Assembly: CrissCross.WPF.UI.dll
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
public static bool ApplyWindowBackdrop(nint handle, WindowBackdropType backgroundType)
Summary: Tries to apply selected backdrop type for window handle.
Parameters
| Name | Type | Description |
|---|---|---|
handle | nint | Selected window handle. |
backgroundType | [WindowBackdropType](# | Backdrop type. |
Returns: bool -- true if invocation of native Windows function succeeds.