Rad

MaskedTextBox for WPF

RadMaskedTextBox is a highly customizable component for controlled data input in WPF applications. It enhances the functionality of TextBox by adding input validation and masks, such as date, IP Address, SSN, phone number, digits, and decimals.

 

MaskedTextBox

Validation

RadMaskedTextBox uses a mask to distinguish between proper and improper user input. You can use a mask to specify the format such as IP address, date, currency, etc.

DateTime Mask

The DateTime mask ensures that the date entered by the user is verified and accurate. You can also specify the culture information by setting the Culture property.

Numeric

The numeric mask supports restricting user input to percent and currency values, where currency values are also culture sensitive.

Keyboard Support

In addition to the standard keyboard input, the Telerik WPF MaskedTextBox control delivers the convenience of desktop applications with support for arrow-key navigation:

  • Left/Right arrows - move the cursor one position to the left/right
  • Up/down arrows in the DateTime mask – spin the value one step up/down
  • Mouse wheel support

Globalization Support

Full globalization support is provided out-of-the-box through RadMaskedTextBox's Culture property.

VS Plug-in for Testing RadControls

Telerik's automated software testing tool Test Studio is among the few to deliver rich UI object model that covers the entire range of UI elements in WPF. Easily record tests, customize them in code within Visual Studio or convert them to unit tests. What’s more, Test Studio is the best way to test RadControls for WPF. The powerful test recorder automatically detects the controls and exposes commonly used verifications. Learn more