Mask Edit Control

Description : 

This control is a attempt to emulate the Marked Edit control available in VB 6.0. MaskEdit control extends the System.Windows.Forms.TextBox control available in Microsoft .NET library.

Additional properties 

MaskFormat : Accepts string to define the display mask

Following are the format characters.

# - Digits.
9 - optional digits
A - Alpha numerals
a - optional Alpha numerals
& - Characters
? - Alpha
All other characters are displayed as is.

Usage Consumer has to set the MaskFormat and PrompChar property(Defaults to "_").Refer format characters above. 

Before losing the focus control fires validationError event if their are any mismatch in the characters entered as per the mask

Please find the Zip file attached.

Similar Articles