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.

Overview

The masked text box 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 mask expression

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

Masked text box control with variable length mask expression


Culture

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


Custom prompt character

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

Masked text box control custom prompt character


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.

Masked text box control with lost focus validation

Key press

Validation triggers for each key press.

Masked text box control with key press validation


Formatting clipboard text

During 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.

Masked text box control's value contains typed characters

Include prompt

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

Masked text box control's value contains typed characters and prompt characters

Include literals

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

Masked text box control's value contains typed characters and literals

Include prompt and literals

Value contains typed characters, prompt characters, and literals.

Masked text box control's value contains typed characters, prompt characters, and literals


Watermark

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

Masked text box control with watermark text


Appearance

Appearance is highly customizable.

Text appearance

Masked text box control with custom text color

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

Border color

Masked text box control with custom border color

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

Error border color

Masked text box control 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.


100+ XAMARIN CONTROLS

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

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

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.