Skip to content

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

NameTypeDescription
windowWindow?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

NameTypeDescription
handlenintWindow handle.

Returns: bool