Category / Section
How to change the format for display of negative values in WinForms DoubleTextBox?
1 min read
Display negative values
You can control the display of negative values in a DoubleTextBox using NumberNegativePattern property. This value is initially set from the System.Globalization.NumberFormatInfo and can be changed based on your requirements or based on the locale. Here are the patterns based on the value of the NumberNegativePattern value:
ValueDisplay0(n) 1-n2- n3n-4n -