Table of Contents

Method GetAppearanceIsDark

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

GetAppearanceIsDark()

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

public virtual bool GetAppearanceIsDark()

Returns

bool

Remarks

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