Skip to content

UnsafeNativeMethods.GetDwmColor() 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 Color? GetDwmColor()

Summary: Tries to get currently selected Window accent color.

Returns: Color?