New to Telerik UI for .NET MAUI? Start a free 30-day trial
Mask Types in .NET MAUI MaskedEntry
Updated over 6 months ago
The MaskedEntry provides separate masked entry controls which can handle different types of user input. They all inherit from a common RadMaskedEntryBase class.
The available masks and their purpose are listed below:
- Text—Used for handling all types of text user input. The
Valueproperty is astring. - Numeric—Used for handling numeric user input. The
Valueproperty can bedoubleordecimal. - Regex—Used for handling and validating a standard (alphanumeric) user input against a regular expression. Provides errors if the regex is not matched. The
Valueproperty is astring. - IP—Used for handling and validating an IP Address input. The
Valueproperty isstring. - Email—Used for handling and validating an email input. The Value property is string.
The
Valuecan also benullfor all mask types.
For the MaskedEntry Mask Types examples, go to the SDKBrowser Demo Application and navigate to MaskedEntry -> Mask Types category.