Table of Contents

Method 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 virtual bool IsUsingDarkBackground()

Returns

bool