UnsafeNativeMethods.IsWindowHasLegacyMica(Window?) 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
Overloads¶
- 1.
public static bool IsWindowHasLegacyMica(Window? window) - 2.
public static bool IsWindowHasLegacyMica(nint handle)
1. Overload¶
public static bool IsWindowHasLegacyMica(Window? window)
Summary: Tries to determine whether the provided Window has applied legacy Mica effect.
Parameters
| Name | Type | Description |
|---|---|---|
window | Window? | Window to check. |
Returns: bool
2. Overload¶
public static bool IsWindowHasLegacyMica(nint handle)
Summary: Tries to determine whether the provided handle has applied legacy Mica effect.
Parameters
| Name | Type | Description |
|---|---|---|
handle | nint | Window handle. |
Returns: bool