Esempio n. 1
0
 /// <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);
 }
Esempio n. 2
0
 /// <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);
 }