I have a problem with gray transition frames in Windows Phone 7.
I am using Silverlight for Windows Phone toolkit and transitions are working fine except for the color. Suddenly, the color of the transitioning frame became gray. For the purposes of my app, I am overriding the app resources, like this:
(App.Current.Resources["PhoneBackgroundBrush"] as SolidColorBrush).Color = Colors.White;
(App.Current.Resources["PhoneForegroundBrush"] as SolidColorBrush).Color = Colors.Black;
When I don't do that, the transition frame is black if the theme on the phone is dark, and it's white if the theme on the phone is white. As it should be.
As soon as I set the resources (background and foreground brush), the transition frame becomes gray if the theme on the phone is dark, and white if the theme on the phone is white.
Any guesses what on Earth is going on?
Thanks