New to Telerik UI for WPF? Start a free 30-day trial
How to Define Consecutive Input
Updated on Sep 15, 2025
In the RadMaskedNumericInput and RadMaskedCurrencyInput controls if in the user input is similar to _4_5,12,345, each placeholder indicating that no value is added is replaced by a 0, thus displaying the value of 405,012,345:
Example 1: Each placeholder is replaced by 0
XAML
<telerik:RadMaskedNumericInput HorizontalAlignment="Center"
Culture="en-US"
EmptyContent="Enter digits"
Mask="#9.0"
SelectionOnFocus="SelectAll"
SpinMode="PositionAndValue"
TextMode="PlainText"
UpdateValueEvent="LostFocus"
Value="12345" />

However, if you need to define a consecutive input so that entering a new digit to this number ____,12,345 will result in adding the digit to the first available position: ___,412,345, you can set the AllowSkipPlaceholders property to False:
Example 2: Setting the AllowSkipPlaceholders property
XAML
<telerik:RadMaskedNumericInput HorizontalAlignment="Center"
AllowSkipPlaceholders="False"
Culture="en-US"
EmptyContent="Enter digits"
Mask="#9.0"
SelectionOnFocus="SelectAll"
SpinMode="PositionAndValue"
TextMode="PlainText"
UpdateValueEvent="LostFocus"
Value="12345" />
