Upon updating my WPF application to net5 I noticed that StringFormat set on a TextBlock seems to use different culture settings than calling ToString from code. Specifically CurrencyNegativePattern is different.
<TextBlock Text="{Binding Value, StringFormat=C0}"/>
with Value=-10 Will format like -$10
While
(-10).ToString("C0")
will format like ($10)
This app demonstrates the issue: https://github.com/innominate227/WpfCurrencyNegativePatternIssue
Is there anyway to get WPF to use the same format that is used by the ToString()?