WPF Masked Text Box
The WPF Elements MaskedTextBox provides similar functionality to the
Windows Forms MaskedTextBox, but in a native WPF control. The MaskedTextBox
uses the same underlying mask engine as the Windows Forms control,
ensuring a familiar masking language for developers.
However, the WPF MaskedTextBox provides additional hooks for visual
customisation, allowing users to visually distinguish between literal text,
text that they have typed, and positions still awaiting input. You can also
provide additional visual hints as to the type of input expected in any
given position, and provide helpful feedback in the event of incorrect user
input.
