Windows Phone 8.1 xaml - read language resources from external project -
i have portable library in have applocalizations.resw resource files. can read in code behind (which obsolete, working):
new windows.applicationmodel.resources.resourceloader("assembly/applocalizations")
but how can utilize xaml? when seek read way, text blank, if key in resource file key.text
<textblock x:uid="key" />
i triying import in app.xaml, no success.
thanks.
i utilize code windows phone universal apps, general resources:
<textblock style="{staticresource textblock_blackstyle}" x:uid="/resources/txtipname" name="txtipname" horizontalalignment="left" margin="33,149,0,0" textwrapping="wrap" text="ip:" verticalalignment="top"/>
then if u had exertanl library, think code is:
<textblock x:uid="/assembly/applocalizations/key" />
tell me if solve problem! luck man! :)
xaml resources windows-phone-8.1
No comments:
Post a Comment