[]
        
(Showing Draft Content)

Masked Text Box

Validate input in your WPF applications using MaskedTextBox for WPF. It provides a text box with a mask that automatically validates entered input, similar to the standard Microsoft WinForms MaskedTextBox control.

Make the most of MaskedTextBox for WPF by taking advantage of the following key features:

  • Validate Data and Enhance Your UI

The masked text box control (C1MaskedTextBox) provides a text box with a mask that automatically validates the input. The edit mask enhances the UI by preventing end-users from entering invalid characters into the control. See Mask Formatting for details and Adding a Mask for Currency for an example.

  • Provide Clues to Prompt Users for Information

The masked text box control includes a IsWatermarked property, which lets end-users know what type of information is expected. See Watermark for details.

  • Easily Change Colors with ClearStyle

C1MaskedTextBox supports ClearStyle technology which allows you to easily change control brushes without having to override templates. By just setting a few brush properties in Visual Studio you can quickly style the entire control.

See Also

Mask Elements