'宣言 Public Property EditMask As System.String
public System.string EditMask {get; set;}
'宣言 Public Property EditMask As System.String
public System.string EditMask {get; set;}
The EditMask property allows an input mask to be specified for automatic input formatting and validation. The mask syntax is similar to the one used by Microsoft Access. Setting the input mask for a column will prevent the user from entering any information in the cell that is not in the format of the EditMask string.
The EditMask must be a string composed of the following symbols:
Wildcards
0 | Digit. |
9 | Digit or space. |
# | Digit or sign. |
L | Letter. |
? | Letter or space. |
A | Letter or digit. |
a | Letter, digit or space. |
& | Any character. |
Localized characters
. | Localized decimal separator. |
, | Localized thousand separator. |
: | Localized time separator. |
/ | Localized date separator. |
Command characters
\ | Next character is taken as a literal. |
> | Translate letters to uppercase. |
< | Translate letters to lowercase. |