开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜