.NET MAUI MaskedEntry Validation Message
The Telerik MaskedEntry for .NET MAUI provides a built-in validation message. If the user is entering an input that does not match the mask requirements, the MaskedEntry will display an error message.
Default Error Message
The MaskedEntry supports a default validation error message that is based on the used masked type:
EmailMaskedEntry
—Supports theE-Mail is not valid
error message.RegexMaskedEntry
—Supports theInput does not match the regex
error message.
Custom Error Message
To customize the default validation error message, use the ValidationErrorMessage
(string
) property.
- Custom Validation Error Message for the EmailMaskedEntry
- Custom Validation Error Message for the RegexMaskedEntry
For the MaskedEntry Validation Error Message example, go to the SDKBrowser Demo Application and navigate to MaskedEntry -> Features category.