ComponentOne Input Library for WPF
Input Library Overview / Masked Text Box
In This Topic
    Masked Text Box
    In This Topic

    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:

    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.

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

    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