0

there's any way to binding and keep update when the localization change the TextBox.text with Two letter Iso Language name, as this way?

xmlns:glob="clr-namespace:System.Globalization;assembly=mscorlib"
<TextBox Text="{Binding Source={x:Static glob:CultureInfo.CurrentUICulture.TwoLetterISOLanguageName}}"/>

This gets the error , cannot find the member "TwoLetterISOLanguageName" on target Type

luka
  • 567
  • 7
  • 14

0 Answers0