ComponentOne Basic Library for WPF and Silverlight
WPF and Silverlight Edition Basic Library / Masked Text Box
In This Topic
    Masked Text Box
    In This Topic

    Validate input in your WPF and Silverlight applications! MaskedTextBox for WPF and Silverlight 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 and Silverlight 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 Watermark 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 ClearStyle Technology for details.

    See Also