Getting Started with WinForms MaskedEditBox
Here is how to quickly configure two RadMaskedEditBox controls. One uses a custom phone number mask, the second as a predefined short date pattern.
Drop two RadMaskedEditBox controls on a form.
In the first RadMaskedEditBox set the MaskType property to Standard and the Mask property to "(###) ###-###". See *Standard Masks for more information on how this mask is constructed.*
In the second RadMaskedEditBox set the MaskType property to DateTime and the Mask property to "d". * See Date and Time Masks** for more information on how this mask is constructed.*
Press F5 to run the application. Notice the behavior in the first RadMaskedEditBox where the literals "(" and ")" are jumped over and cannot be replaced by the user. Also notice that mask characters are represented by the character in the PromptChar property (by default this is the underscore "_" character) when blank.
See Also
Telerik UI for WinForms Learning Resources
- Telerik UI for WinForms MaskedEditBox Component
- Getting Started with Telerik UI for WinForms Components
- Telerik UI for WinForms Setup
- Telerik UI for WinForms Application Modernization
- Telerik UI for WinForms Visual Studio Templates
- Deploy Telerik UI for WinForms Applications
- Telerik UI for WinForms Virtual Classroom(Training Courses for Registered Users)
- Telerik UI for WinForms License Agreement)