I am binding a float property to my TextBox control. Thats working correct if I am using "en" as my language Preference. Entering a number "1.123" is correctly parsed.
If I Switch mur culture to "de" nothing changes in the TextBox (and TextBlocks). Still everything is formatted with a ".".
Entering a number via the "Numeric" Keyboard of WinRT is using the "," as a seperator. But the Training Digits will not be part of the number after Focus lost (and the bound property is updated. So "1,234" should be parsed internaly as "1.234". But ist converted to "1".
The app.xaml.cs contains some more initialisation for ensuring the culture is set to the right language. The allowed languages are ("en" and "de" (*,proj file. The CultureInfo.CurrentCulture is correctly set to "de" if you break into debugger.
public App()
{
Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride = CultureInfo.CurrentCulture.Name;
CultureInfo.DefaultThreadCurrentCulture = CultureInfo.CurrentCulture;
CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.CurrentCulture;