Example of Formats in ASP.NET Core Input Mask Control
This sample demonstrates that the different formats can be applied to MaskedTextBox component. You can customize the mask and prompt character values in the property panel.
DEMO
SOURCE
Formats
Mask
|
|
Prompt Character
|
|
Value
|
|
Masked Value
|
Here, the "Value" and "Masked Value" labels from the properties panel returns the raw value (unmasked value) and masked value of the MaskedTextBox component. You can also get these raw value and masked value anytime through the value property and getMaskedValue method.
More information about MaskedTextBox can be found in this documentation section.