Indicates if the app is built with Supports Dark Mode property set to ON.
result = AppSupportsDarkMode
Returns True if you are compiling or running an app with Supports Dark Mode property set to ON.
Use AppSupportsDarkMode to isolate code specific for when Supports Dark Mode is ON or OFF.
#If AppSupportsDarkMode Then
' Use a different image or adjust colors
All project types on all supported operating systems.