WP7 - StaticResource Error?
It appears that this line that is within:
<TextBlock x:Name="ItemReason" Text="{Binding Reason}" Style="{StaticResource PhoneFontSizeLarge}" />
Is triggering an error here:
private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e)
I'm not quiet开发者_开发问答 sure why. Any ideas?
You're not defining the control style but rather the font size.
FontSize="{StaticResource PhoneFontSizeLarge}
This makes it right.
For future reference keep this at hand.
精彩评论