【发布时间】:2014-11-25 21:06:22
【问题描述】:
我正在尝试在我的 Windows Phone 8 应用程序的动态磁贴的“背景内容”中绑定一些字符串,以根据智能手机的语言更改文本,但我找不到方法。带有静态字符串的瓷砖工作正常。 这是我的“WMAppManifest.xml”的“令牌”块:
<Tokens>
<PrimaryToken TokenID="PhoMod_VToken" TaskName="_default">
<TemplateFlip >
<SmallImageURI IsRelative="true" IsResource="false">Assets\Tiles\IconicTileSmall.png</SmallImageURI>
<Count>0</Count>
<BackgroundImageURI IsRelative="true" IsResource="false">Assets\Tiles\IconicTileMedium.png</BackgroundImageURI>
<Title>PhoMod 3D
</Title>
<BackContent>Capture, view and share your world in 3D</BackContent>
<BackBackgroundImageURI IsRelative="true" IsResource="false">Assets\Tiles\IconicTileMedium_Back.png</BackBackgroundImageURI>
<BackTitle>PhoMod 3D
</BackTitle>
<LargeBackgroundImageURI IsRelative="true" IsResource="false">Assets\Tiles\IconicTileLarge.png</LargeBackgroundImageURI>
<LargeBackContent>Capture, view and share your world in 3D</LargeBackContent>
<LargeBackBackgroundImageURI IsRelative="true" IsResource="false">Assets\Tiles\IconicTileLarge_Back.png</LargeBackBackgroundImageURI>
<DeviceLockImageURI IsRelative="true" IsResource="false">
</DeviceLockImageURI>
<HasLarge>True</HasLarge>
</TemplateFlip>
</PrimaryToken>
</Tokens>
请提出一种方法。提前致谢。
【问题讨论】:
标签: c# xml windows-phone live-tile