How do I know whether WP7 is in its dark mode 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
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With