Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resources String to Xaml in Win 7 phone

I Want to do something like this (but in win phone 7):

In Silverlight i can use in resources,

<sys:String x:Key="ResourceString">Resource String</sys:String>

And use it for example:

<TextBlock Text="{StaticResource ResourceString}"></TextBlock>

The question is:

How do I use a String resource in winphone 7?

Thanks.

like image 758
ambarreira Avatar asked Dec 27 '25 21:12

ambarreira


1 Answers

Check out this MSDN document about string resources:

http://msdn.microsoft.com/en-us/library/ff637520(v=VS.92).aspx

like image 133
William Melani Avatar answered Dec 31 '25 00:12

William Melani