How to find out if WP7 is in dark or light mode? I would like to show different images depending on which mode is active.
Visibility v = (Visibility)Resources["PhoneLightThemeVisibility"]; if (v == System.Windows.Visibility.Visible) { // light theme is active } else { // dark theme is active }