Table of Contents

Method IsDarkModeAllowedForWindow

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

IsDarkModeAllowedForWindow(nint)

Determines whether dark mode is allowed for a specific window (internal uxtheme API).

public static extern bool IsDarkModeAllowedForWindow(nint window)

Parameters

window nint

A handle to the window to check.

Returns

bool

true if dark mode is allowed for the window; otherwise, false.