The following table lists some examples of masks and their behaviors:
Mask |
Behavior |
00/00/0000 |
A date (day, numeric month, year) in international date format. The "/" character is a logical date separator, and appears to the user as a date separator appropriate to the application's current culture. |
00->L<LL-0000 |
A date (day, month abbreviation, and year) in United States format in which the three-letter month abbreviation is displayed with an initial uppercase letter followed by two lowercase letters. |
(999) 000-0000 |
United States phone number, area code optional. If users do not want to enter the optional characters, they can either enter spaces or place the mouse pointer directly at the position in the mask represented by the first 0. |
$999,999.00 |
A currency value in the range of 0 to 999999. The currency, thousandth, and decimal characters will be replaced at run time with their culture-specific equivalents. |
See Also
Reference
Widgets