The WinForms Numeric TextBox control restricts the input to enter only numbers. It supports number formatting, watermark, custom units, min & max range and more. It has watermark support and allows to define and validate the value.
Number value can be displayed in one of the following format modes. The format modes are numeric, percent and currency. The value is displayed along with the format mode symbol.
Enter the value within the range by defining it. This will restrict irrelevant values.
The numeric text box restricts only the alphabet and not the culture. The value can be displayed in the required culture using NumberFormatInfo.
Trailing zeros that have no value will not be displayed.
More information about the value can be appended or prepended. The values can be defined with their units of measurement.
Instructions or guidelines about the control can be given as watermark.
Foreground color can be defined for positive, negative, and zero values.