About Syncfusion® WPF MaskedTextBox (SfMaskedEdit) Control

18 Nov 20181 minute to read

The WPF MaskedTextBox is an advanced input control that restricts characters, text, and numbers by using a mask pattern. The WPF MaskedTextBox control is implemented through the SfMaskedEdit class. It can be used to create templates for information such as telephone numbers, IP addresses, and product IDs.

Overview of WPF MaskedTextBox

Key features

Mask types - Provides different set of mask types. The types are Simple, Regular and RegEx.

PromptChar - Provides support for setting the prompt characters manually.

Validation - Provides support to validate the input values can be done either during each key press or when the control lost its focus.

Value - Provides support to enter the Values and clipboard operations can be used with or without literal and prompt characters.

Watermark - Provides support to Watermark text can be used to display an instruction or important information.

Customization - Provides support to customize the UI of masked text box.