Question

Is there a way to get current information dynamically from the apps culture settings? Basically if the user has set the culture to US I want to know the currency is dollars, or if they have it set to UK I want to pound sterling etc.in windows phone 8.

I have one textblock and i want show different currency symbol

Était-ce utile?

La solution

I got solution

tbCurencysymbol.Text = CultureInfo.CurrentCulture.NumberFormat.CurrencySymbol.ToString();

**NOTE: When you change region in your windows phone 8 so restart is must require

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top