From Xojo Documentation

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.


DarkMode is not currently supported on Linux.

See Also

UserGuide:Dark Mode