/// <summary> /// Sets a localized info tip that will update automatically when the language changes. /// </summary> /// <param name="text">The input to the string parser which will localize info tip.</param> protected void SetLocalizedInfoTip(string text) { infoTipLocalizeExtension = new StringParseExtension(text) { UsesAccessors = false }; infoTipLocalizeExtension.PropertyChanged += OnInfoTipLocalizationChanged; OnInfoTipLocalizationChanged(null, null); }
/// <summary> /// Sets a localized title that will update automatically when the language changes. /// </summary> /// <param name="text">The input to the string parser which will localize title.</param> protected void SetLocalizedTitle(string text) { titleNameLocalizeExtension = new StringParseExtension(text) { UsesAccessors = false }; titleNameLocalizeExtension.PropertyChanged += OnTitleNameLocalizationChanged; OnTitleNameLocalizationChanged(null, null); }