Color.IsDarkMode

From Xojo Documentation

Revision as of 18:40, 13 December 2021 by PLefebvre (talk | contribs) (Changed to SharedMethodBox)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Shared Method


Color.IsDarkMode() As Boolean

New in 2019r3

Supported for all project types and targets.

True when the devices is currently in dark mode, otherwise False.

Notes

For other platforms use the global IsDarkMode method.

Compatibility

Desktop projects on macOS Mobile projects on iOS

See Also

UserGuide:Dark Mode