New to Telerik UI for WinUIStart a free 30-day trial

MaskedNumericInput

Updated on Mar 26, 2026

The MaskedNumericInput control can be used when you need to display numeric values such as Percent, Decimal, Currency (culture-aware) or Fixed-point values.

Example 1: Adding a RadMaskedNumericInput in XAML to handle currency input

XAML
<input:RadMaskedNumericInput Mask="C3" />

Standard Numeric Masks

Full list of the supported masks (except "E" and "X") can be found in the following MSDN article: Standard Numeric masks.

The following table lists the supported formats and the resulting type of the value with each format:

MaskNumeric TypeResulting .NET Type
"C" or "c"Currencydecimal
"D" or "d"Standardlong (int64)
"F" or "f"Fixed-pointdecimal
"G" or "g"Fixed-pointdecimal
"N" or "n"Decimaldecimal
"P" or "p"Percentdouble
OtherDecimaldecimal

hen used in a data-binding scenario, the bound property in the viewmodel needs to match the type of the resulting value (or its corresponding nullable equivalent).

See Also

In this article
Standard Numeric MasksSee Also
Not finding the help you need?
Contact Support