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.