Color.IsDarkMode

From Xojo Documentation

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