I have a problem with an Exception, couldn\'t find the answer on how to fix it. Attribute {StaticResource PhoneAccentBrush} value is out of range.
System.Win
The problem is in this line:
You are trying to set a brush resource value to a style, which is what is causing the exception. You could try changing the XAML to: