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.
Easily get started with the WinForms Numeric TextBox using a few simple lines of C# code example as demonstrated below. Also explore our WinForms Numeric TextBox Example that shows you how to render and configure the WinForms Numeric TextBox.
public partial class Form1 : Form
SfNumericTextBox numericTextBox = new SfNumericTextBox();
numericTextBox.Size = new System.Drawing.Size(150, 20);
You can find our WinForms Numeric TextBox demo on
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.