Demo Application can be found here
Changelog:
LocalizeExtension.cs:
- Added the Method ResolveLocalizedValue that can be used to resolve an localized object with a created LocalizeExtension;
- LocalizeExtension.cs: Added FormatOutput to the ResolveLocalizedValue method;
HOWTO:This change allow you to get a value of unbound LocalizeExtensions.
Signature of the Methods:bool ResolveLocalizedValue(out TValue resolvedValue)
bool ResolveLocalizedValue(out TValue resolvedValue, CultureInfo targetCulture)
Example: string text; // the output value
bool success; // the resolve status
success = new LocTextLower("XamlLocalizationTest:ResTexts:resBack").ResolveLocalizedValue(out text);
If the resource identifier was not found, an exception will be raised.