New to Telerik UI for WinUI? Download free 30-day trial

Mask Types

The following table lists the available mask types that RadMaskedInput offers and their purpose.

  • None: Used when no certain number of characters is expected and the control needs to automatically update to fit the user input.
  • DateTime: Used for handling DateTime user input. Resulting value is a DateTime object.
  • Numeric: Used for handling numeric user input. Resulting value can be double or decimal.
  • Standard: Used for for handling standard (alphanumeric) user input. Resulting value is string object.
  • Regex: Used for handling and validating a standard (alphanumeric) user input agaist a regular expression. Provides errors if regex is not matched. Resulting value is a string.
  • IP: Used for handling and validatying an IP Address input. Resulting value is string object.
  • Email: Used for handling and validatying an email input. Resulting value is string object.
  • FreeFormDateTime: Tries to recognize a free-form string and convert it to a valid DateTime object.
  • TimeSpan: Used for handling TimeSpan user input. Resulting value is a TimeSpan object.

See Also

In this article
Not finding the help you need?