Table of Contents

Method GetAppearanceIsDark

Namespace
Alternet.UI
Assembly
Alternet.UI.Maui.dll

GetAppearanceIsDark()

Return true if the current system theme is explicitly recognized as being a dark theme or if the default window background is dark.

public override bool GetAppearanceIsDark()

Returns

bool

Remarks

This method should be used to check whether custom colors more appropriate for the default (light) or dark appearance should be used.