In addition to the standard keyboard input, RadMaskedTextBox delivers the convenience of desktop applications with support for arrow-key navigation:
- Left/Right arrows - move the cursor one position to the left/right.
- Up/down arrows in the DateTime and Numeric masks - spin value one step up/down.
- Mouse wheel support in the DateTime and Numeric masks - spin value one step up/down.
Spin Behavior
The spin behavior in DateTime and Numeric masks could be disabled by setting the IsSpinEnabled property to False.
CopyXAML
<telerik:RadMaskedTextBox IsSpinEnabled="False"
Mask="c3"
MaskType="Numeric" /> Note |
|---|
Note that only Numeric and DateTime mask types support spin behavior. |
See Also