Table of Contents

Property IsUsingDarkBackground

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

IsUsingDarkBackground

Returns true if the background is darker than foreground. This is used by AppearanceIsDark if there is no platform-specific way to determine whether a dark mode is being used and is generally not very useful to call directly.

public static bool IsUsingDarkBackground { get; }

Property Value

bool