0
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<resources>
<string name="ABOUT">ÜBER</string>
<string name="ABOUT_MESSAGE">Willkommen</string>
</resources>
我在此解決方案中使用了帶有字符串的XML文件。然後在我的XAML項目中,我有:綁定到Windows Phone 8.1中的Xml元素
<TextBlock Text="" FontFamily="Segoe WP" FontWeight="Light" Foreground="Black" FontSize="16"/>
如何將TextBlock的Text屬性綁定到name =「ABOUT」值。我必須在哪裏放置XML,以及需要在Xaml命名空間中添加哪種引用才能找到它?
另外,如何做到這一點從C#代碼隱藏?