Examples using masks
Using NumberMask
Int. Size
Dec. Size
Currency Symbol
Negative
Direction
Input
-1
0
(none)
minus
right-to-left
-1
-1
(none)
parenthesis
left-to-right
6
3
(none)
not allowed
left-to-right
6
2
R$
parenthesis
right-to-left
Using DateMask
Mask
Input
dd/MM/yyyy
dd/MM/yyyy HH:mm (force all fields)
dd/MM/yyyy HH:mm (allows partial fields)
HH:mm:ss
Using InputMask
Type
Input
Check if is complete
Upper Case
Lower Case
Capitalized
Phone: (##) ####-####
Imaginary: 2 to 6 uppercase letters, '/', 1 to 3 numbers
Imaginary: AA.UU.LL.CC-##
Imaginary: AAAA####
Imaginary: AAAA####-
Numeric
*
Decimal
*
Date
*
Date/Time
*
Date/Time/Sec
*
*
Those kinds of masks are interpreted only as strings by the InputMask, and are not recommended for general usage. For numeric masks, use the NumberMask, and for date masks, the DateMask instead.
Using SizeLimit
TextArea
Limit Message