Trusted by the world’s leading companies
Overview
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.
Key features

Choose mode types
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.

Define range for values
Enter the value within the range by defining it. This will restrict irrelevant values.

Localization
The numeric text box restricts only the alphabet and not the culture. The value can be displayed in the required culture using NumberFormatInfo.

Hide unnecessary zeros
Trailing zeros that have no value will not be displayed.

Add more information to values
More information about the value can be appended or prepended. The values can be defined with their units of measurement.

Watermark guidelines
Instructions or guidelines about the control can be given as watermark.

Foreground color
Foreground color can be defined for positive, negative, and zero values.
WinForms Numeric TextBox Code Example
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.
using Syncfusion.WinForms.Input;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
SfNumericTextBox numericTextBox = new SfNumericTextBox();
numericTextBox.Size = new System.Drawing.Size(150, 20);
this.Controls.Add(numericTextBox);
}
}
}Not sure how to create your first WinForms Numeric TextBox? Our documentation can help.
I’d love to read it now125+ WINDOWS FORMS CONTROLS
Frequently Asked Questions
Why should you choose Syncfusion WinForms Numeric TextBox?
- Enter numeric values in a specific format such as currency, percent, or custom units.
Hide unwanted trailing zeros.
Watermark text when value is null.
- Simple configuration and API.
- Touch friendly and responsive.
Extensive demos, documentation to learn quickly and get started with WinForms Numeric TextBox.
Where can I find the Syncfusion WinForms Numeric TextBox demo?
You can find our WinForms Numeric TextBox demo on
GitHub location.
Can I download and utilize the Syncfusion WinForms Numeric TextBox for free?
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.
How do I get started with Syncfusion WinForms Numeric TextBox?
A good place to start would be our comprehensive getting started documentation.
Our Customers Love Us
Awards
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.