I'd like to display a value with a sign (both positive and negative).
How should I define the StringFormat property to do that (in WPF)?
I currently have
but how do I add the sign to it? For example the value 0.69 should be displayed as +0.69.
How should I define the StringFormat property to do that (in WPF)?
I currently have
VB.NET:
<TextBlock Text="{Binding myValue, StringFormat={}{0:N2}}" />
but how do I add the sign to it? For example the value 0.69 should be displayed as +0.69.