The problem is I am setting a textblock control's text as to a negative value(ex: -$5). But depending upon the CurrencyNegativePattern it is showing ($5). I want to know is there any manual way to change this property.
Asked
Active
Viewed 32 times
0
-
2See [this MSDN reference](https://msdn.microsoft.com/en-us/library/system.globalization.numberformatinfo.currencynegativepattern(v=vs.110).aspx). – Wiktor Stribiżew Mar 23 '17 at 10:12
-
Also [this question](http://stackoverflow.com/questions/11014878/how-to-use-numberformatinfo-to-remove-parenthesis-for-negative-values) – stuartd Mar 23 '17 at 10:14
-
@stuartd the question seems to more concentrated on changing the string, i am interested in changing the property, currencyNegativePatter of my current culture, can i do that? – pasha Mar 23 '17 at 10:37
-
1[This question](http://stackoverflow.com/questions/7000509/how-to-change-currentculture-at-runtime) shows how to change the CurrentCulture at runtime – stuartd Mar 23 '17 at 10:44
-
@stuartd ...that question helped thanks – pasha Mar 23 '17 at 11:12
-
yes i did that..that is working programmatically but i wanted to check what the value was manually, just like i can check the regional settings in control panel – pasha Mar 23 '17 at 12:19