---
title: "Introducing the New .NET MAUI Numeric Entry Control"
published_at: "2023-07-07T11:45:08+00:00"
modified_at: "2026-02-10T11:20:24+00:00"
url: "https://www.syncfusion.com/blogs/post/dotnet-maui-numeric-entry"
excerpt: "This blog explains the features of the new Syncfusion .NET MAUI Numeric Entry control and the steps to get started with it."
taxonomy_category:
  - ".NET MAUI"
  - "Desktop"
  - "Mobile"
  - "Syncfusion"
  - "What's new"
taxonomy_post_tag:
  - ".NET MAUI"
  - "desktop"
  - "MAUI"
  - "Mobile"
  - "What's New"
---

# Introducing the New .NET MAUI Numeric Entry Control

[Anandhan Rajagopal](https://www.syncfusion.com/blogs/author/anandhan-rajagopal)

![Introducing the New .NET MAUI Numeric Entry Control](https://www.syncfusion.com/blogs/wp-content/uploads/2023/07/Introducing-the-New-.NET-MAUI-Numeric-Entry-Control.png)


In Syncfusion’s Essential Studio® [2023 Volume 2](https://www.syncfusion.com/forums/183035/essential-studio-2023-volume-2-main-release-v22-1-34-is-available-for-download)
 release, we introduced a new [Numeric Entry control for the .NET MAUI](https://www.syncfusion.com/maui-controls/maui-numeric-entry)
 platform.

The Numeric Entry control provides a user-friendly and advanced input experience for numeric values. It supports a wide range of numeric formats, including currency, percentages, and decimals. Numeric Entry provides an enhanced user experience and facilitates input validation.

In this article, we will see the key features of the new .NET MAUI Numeric Entry control and the steps to get started with it.

## Key features

The .NET MAUI Numeric Entry supports many user-friendly features. The highlights are:

- [Input validation](#Input)
- [Custom formatting](#Custom)
- [Value restriction](#Value)
- [Placeholders](#Placeholders)
- [Localization](#Localization)

### Input validation

The Numeric Entry control performs input validation when an input field loses focus or the Enter key is pressed. This ensures that the entered value is in the expected numerical format and falls within the acceptable range or any other defined conditions.

![Input Validation in .NET MAUI Numeric Entry Control](https://www.syncfusion.com/blogs/wp-content/uploads/2023/07/Input-Validation-in-.NET-MAUI-Numeric-Entry-Control.gif)

Input Validation in .NET MAUI Numeric Entry Control

### Custom formatting

You can customize the format of the numeric values. You can choose the number of decimal digits and even add prefixes and suffixes, thus supporting a highly customized data entry process.

![Custom Formatting in .NET MAUI Numeric Entry Control](https://www.syncfusion.com/blogs/wp-content/uploads/2023/07/Custom-Formatting-in-.NET-MAUI-Numeric-Entry-Control.png)

Custom Formatting in .NET MAUI Numeric Entry Control

### Value restriction

The Numeric Entry control allows you to impose various restrictions on the input values:

- **Limit the number range:** Easily restrict users from entering input values outside a range set with minimum and maximum values.
- **Disable editing:** Restrict a user’s ability to edit values in the control.
- **Prevent empty editor**: Prevent users from entering empty or null input values.

Refer to the following images.

![Limiting the Number Range in .NET MAUI Numeric Entry Control](https://www.syncfusion.com/blogs/wp-content/uploads/2023/07/Limiting-the-Number-Range-in-.NET-MAUI-Numeric-Entry-Control.gif)

Limiting the Number Range in .NET MAUI Numeric Entry Control

![Disabling Editing in .NET MAUI Numeric Entry Control](https://www.syncfusion.com/blogs/wp-content/uploads/2023/07/Disabling-Editing-in-.NET-MAUI-Numeric-Entry-Control.gif)

Disabling Editing in .NET MAUI Numeric Entry Control

![Preventing Null Input Values in .NET MAUI Numeric Entry Control](https://www.syncfusion.com/blogs/wp-content/uploads/2023/07/Preventing-Null-Input-Values-in-.NET-MAUI-Numeric-Entry-Control.gif)

Preventing Null Input Values in .NET MAUI Numeric Entry Control

### Placeholders

The placeholder feature allows you to provide hints for data entry fields in the Numeric Entry control. This guides the user with the required format of the input values and keeps them from entering a null value.

![Placeholder Support in .NET MAUI Numeric Entry Control](https://www.syncfusion.com/blogs/wp-content/uploads/2023/07/Placeholder-Support-in-.NET-MAUI-Numeric-Entry-Control.png)

Placeholder Support in .NET MAUI Numeric Entry Control

### Localization

The Numeric Entry control automatically formats the input values based on the regional or cultural settings, ensuring that your app is localized and supports different cultural preferences.

![Localization in .NET MAUI Numeric Entry Control](https://www.syncfusion.com/blogs/wp-content/uploads/2023/07/Localization-in-.NET-MAUI-Numeric-Entry-Control.png)

Localization in .NET MAUI Numeric Entry Control

**Note:** Refer to the [.NET MAUI Numeric Entry control documentation](https://help.syncfusion.com/maui/numericentry/overview)
 to explore the other features.

## Getting started with the .NET MAUI Numeric Entry control

We have seen the key features of the .NET MAUI Numeric Entry control. Let’s learn how to integrate it into your .NET MAUI app and utilize its features:

**Step 1:** First, create [a .NET MAUI app](https://learn.microsoft.com/en-us/dotnet/maui/get-started/first-app?view=net-maui-7.0&tabs=vswin&pivots=devices-android)
.

**Step 2:** The Syncfusion .NET MAUI controls are available on [NuGet Gallery](https://www.nuget.org/)
. To add the .NET MAUI Numeric Entry control to your project, open the **NuGet package manager** in [Visual Studio](https://visualstudio.microsoft.com/)
. Search for [Syncfusion.Maui.Inputs](https://www.nuget.org/packages/Syncfusion.Maui.Inputs)
, and then install it.

**Step 3:** Now, register the handler for the Syncfusion core in the ** MauiProgram.cs** file.

```
Using Microsoft.Maui;
using Microsoft.Maui.Hosting;
using Microsoft.Maui.Controls.Compatibility;
using Microsoft.Maui.Controls.Hosting;
using Microsoft.Maui.Controls.Xaml;
using Syncfusion.Maui.Core.Hosting;
namespace NumericEntrySample
{
  public static class MauiProgram
  {
     public static MauiApp CreateMauiApp()
     {
	var builder = MauiApp.CreateBuilder();
	builder
	  .UseMauiApp<App>()
	  .ConfigureSyncfusionCore()
	  .ConfigureFonts(fonts =>
	   {
	      fonts.AddFont(“OpenSans-Regular.ttf”, “OpenSansRegular”);
	   });
           return builder.Build();
     }
  }
}
```

**Step 4:** Add the ** Syncfusion.Maui.Inputs** namespace in your XAML page.

```
Xmlns:inputs=”clr-namespace:Syncfusion.Maui.Inputs;assembly=Syncfusion.Maui.Inputs”
```

**Step 5:** Finally, initialize the Syncfusion .NET MAUI Numeric Entry control. Refer to the following code example.

```
<inputs:SfNumericEntry x:Name=”numericEntry”
                      WidthRequest=”300”
                      CustomFormat=”C2”
                      Value=”100” />
```

Refer to the following output image.

![Integrating the Numeric Entry Control in a .NET MAUI Application](https://www.syncfusion.com/blogs/wp-content/uploads/2023/07/Integrating-the-Numeric-Entry-Control-in-a-.NET-MAUI-Application.png)

Integrating the Numeric Entry Control in a .NET MAUI Application

## GitHub reference

Check out the [.NET MAUI Numeric Entry control GitHub demo](https://github.com/SyncfusionExamples/maui-numericentry-samples)
.

## Conclusion

Thanks for reading! Overall, the new Syncfusion [.NET MAUI Numeric Entry control](https://www.syncfusion.com/maui-controls/maui-numeric-entry)
 is a great fit for developers building cross-platform mobile apps. This control is available in our [2023 Volume 2](https://www.syncfusion.com/forums/183035/essential-studio-2023-volume-2-main-release-v22-1-34-is-available-for-download)
release. Check out our [Release Notes](https://www.syncfusion.com/products/release-history)
 and [What’s New](https://www.syncfusion.com/products/whatsnew)
 pages to see the other updates in this release, and leave your feedback in the comments section below!

Download [Essential Studio® for .NET MAUI](https://www.syncfusion.com/downloads/maui)
 to start evaluating its controls immediately.

If you have questions, please contact us through our [support forum](https://www.syncfusion.com/forums)
, [support portal](https://support.syncfusion.com/support/tickets)
, or [feedback portal](https://www.syncfusion.com/feedback/)
. We are always happy to help you!

## Related blogs

- [Introducing the New .NET MAUI Image Editor Control](https://www.syncfusion.com/blogs/post/dotnet-maui-image-editor-control.aspx)
- [Introducing the .NET MAUI Toolbox for Visual Studio](https://www.syncfusion.com/blogs/post/dotnet-maui-visual-studio-toolbox.aspx)
- [Introducing the 8th Set of .NET MAUI Controls and Features](https://www.syncfusion.com/blogs/post/whats-new-dotnet-maui.aspx)
- [Chart of the Week: Creating a .NET MAUI Multiple-Column Chart to Visualize the Purchase Revenue of US E-Health and Meditation Apps](https://www.syncfusion.com/blogs/post/dotnet-maui-multiple-column-chart-visualize-health-app-revenue.aspx)
