The UWP Masked TextBox (masked input) control is an enhanced version of a text box that additionally restricts input to conform to a specific structure or mask.
The masked text box control gives you great flexibility to control variable length of data input
Special symbols like currency symbols, date separators, decimal separators etc., are applied based on the provided culture
The masked text box control provides the flexibility to customize the prompt character when the default prompt character ( _ ) is not suitable for your scenario.
The masked text box control lets you to choose when to validate the data input.
Validate the data input when the control loses its focus.
Validation triggers for each key press.
While fetching the value, masked text box control provides the option to format the text with literals and prompt characters.
Value contains only the typed characters; the prompt characters and literals are excluded.
Value contains the typed characters and available prompt characters, literals are excluded.
Value contains the typed characters and literals; prompt characters are excluded.
Value contains typed characters, prompt characters, and literals.
The watermark will prompt you with instructions or important information, when it is not in focus and no characters are not entered.
Appearance is highly customizable.
The masked text box control allows you to change the font name, font style, font size and its color.
Customize border color of the masked edit control to any of the preferred color.
The masked text box control provides the flexibility to customize the error border color when the default error border color (Color.Red) is not suitable for your scenario.