We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The WinUI NumberBox control provides an intuitive, touch-friendly interface to enter numerical input with different numeric formats. User input can be restricted by specifying minimum and maximum values. In addition, it supports watermark and up-down button for changing the value.

WinUI NumberBox control.


Number format

Enter a value in currency, percentage, or decimal format.

WinUI NumberBox currency format.


Custom formatting

Apply custom formats with precision in decimal digits and add prefixes and suffixes.

WinUI NumberBox custom format.


Globalization

The values of the WinUI NumberBox control are automatically formatted based on regional or cultural settings.

WinUI NumberBox supports multiple cultures.


Restriction

The WinUI NumberBox control accepts only numerical input. There are many more restrictions that can be imposed, as explained in the following sections.

WinUI NumberBox limits the number range.

Limit the number range

Restrict users to entering input values within a minimum and maximum range.

WinUI NumberBox disables value editing.

Disable editing

Restrict a user’s ability to edit values in the editor.

WinUI NumberBox prevents the empty editor.

Prevent an empty editor

Prevent users from entering empty or null input.


Watermark

Display hints using watermark text when a null value is set.

WinUI NumberBox watermark text.


Up-down button

Increase or decrease values by using an up-down button. You can align the buttons side-by-side in inline mode, show it in a popup in compact mode, or hide it.

WinUI NumberBox uses up-down button.


Keyboard and mouse interaction

The value of WinUI NumberBox control can be increased or decreased using arrows and the page-up and page-down keys. Values can also be changed by scrolling the mouse over the control.

WinUI NumberBox changes values with keys or mouse.


Theme

The WinUI NumberBox control includes light, dark, and high-contrast themes.

WinUI NumberBox with light and dark themes.


Syncfusion WinUI DataViz & UI Controls

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

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.

Up arrow icon