We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Overview

The masked textbox control lets you restrict input to certain types of characters, text, and numbers using mask characters or regex. This control is used to create a template for providing information such as telephone numbers, IP addresses, product IDs, and so on.


Variable length masked expression

The masked text box control gives you great flexibility to control variable length of data input.

xamarin android masked text box with variable length masked expressions


Culture

Special symbols like currency symbols, date separators, decimal separators, etc., are applied based on the provided culture.


Custom prompt characters

The masked text box control provides the flexibility to customize the prompt character when the default prompt character ( _ ) is not suitable for your scenario.

xamarin android masked text box with custom prompt characters


Validation mode

The masked text box control lets you to choose when to validate the data input.

Lost focus

Validate the data input when the control loses its focus.

xamarin android masked text box with lost focus validation

Key press

Validation triggers for each key press.

xamarin android masked text box with key press validation


Formatting clipboard text

During a cut or copy operation, the masked text box control provides the option to format the clipboard text with literals and prompt characters.

Exclude prompt and literals

Value contains only the typed characters; the prompt characters and literals are excluded.

xamarin android masked text box value contains typed characters

Include prompt

Value contains the typed characters and prompt characters, literals are excluded.

xamarin android masked text box value contains typed characters and prompt characters

Include literals

Value contains the typed characters and literals; prompt characters are excluded.

xamarin android masked text box value contains typed characters and literals

Include prompt and literals

Value contains typed characters, prompt characters, and literals.

xamarin android masked text box value contains typed characters, prompt characters, and literals


Watermark

The watermark will prompt you with instructions or important information when the text box is not in focus and any valid characters are not entered.

xamarin android masked text box with watermark text


Appearance

The appearance is highly customizable.

Text appearance

xamarin android masked text box with custom text color

The masked text box control allows you to change the text font name, font style, font size, and color.

Border color

xamarin android masked text box with custom border color

Customize the border color of the masked edit control with any of the predefined native colors.

Error border color

xamarin android masked text box with custom error border 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.


130+ XAMARIN CONTROLS

ALL CONTROLS
  • Xamarin.Forms
  • Xamarin.Android
  • Xamarin.iOS

Transform your applications today by downloading our free evaluation versionDownload Free Trial

Scroll up icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon