|
|
|
|
|
|
xamCurrencyInput xamNumericInput xamMaskedInput
|
Characters must be numeric (0-9) and entry is required. Example: (###)-###-####.
|
|
|
xamCurrencyInput xamNumericInput xamMaskedInput
|
Characters are required as specified as the decimal placeholder as defined by the system’s international settings. Characters are treated as literals for masking purposes.
|
|
|
xamCurrencyInput xamNumericInput xamMaskedInput
|
Characters are delimited by the thousands separator as defined by the system’s international settings. This character is treated as a literal for masking purposes.
|
|
|
|
Characters are delimited by the time separator as defined by the system’s international settings. This character is treated as a literal for masking purposes.
|
|
|
|
This character is also treated as a literal for masking purposes.
|
|
|
|
This character instructs the mask to treat the next character in the mask string as a literal. This allows you to include the '#', '&', 'A', and '?' as well as other characters with special meanings in the mask. This character is treated as a literal for masking purposes.
|
|
|
|
Valid values for this placeholder are ANSI characters in the following ranges: 32-126 and 128-255 (keyboard and foreign symbol characters).
|
|
|
|
Converts all characters that follow to uppercase
|
|
|
|
Converts all characters that follow to lowercase
|
|
Alphanumeric character placeholder
|
|
Represents an alphanumeric character. For example: a-z, A-Z, or 0-9. Character entry is required .
|
|
Alphanumeric character placeholder
|
|
For example: a-z, A-Z, or 0-9. Character entry is not required .
|
|
|
xamCurrencyInput xamNumericInput xamMaskedInput
|
Character must be numeric (0-9) but entry is not required.
|
|
Hexadecimal digit placeholder
|
xamNumericInput xamMaskedInput
|
Character must be a hexadecimal digit (0-9 or a-f). The entry is required. A-F digits will be converted to lower case.
|
|
Hexadecimal digit placeholder
|
xamNumericInput xamMaskedInput
|
Same as 'h' placeholder however the a-f digits are converted to upper case.
|
|
|
xamCurrencyInput xamNumericInput xamMaskedInput
|
Minus sign when followed by a number section defined by series of 'n’s (like in "-nn,nnn.nn") indicates that negative numbers are allowed. When not followed by a series of 'n’s, it’s taken as a literal. Minus sign is only shown when the number is actually negative.
|
|
|
xamCurrencyInput xamNumericInput xamMaskedInput
|
Plus sign when followed by a number section defined by series of 'n’s (like in "nn,nnn.nn") indicates that negative numbers are allowed. However, it differs from '-' in the respect that it always shows a '' or a '-' sign depending on whether the number is positive or negative.
|
|
Character or space placeholder
|
|
Character entry is not required. This operates exactly like the '&' placeholder, and ensures compatibility with Microsoft Access.
|
|
|
|
For example: a-z or A-Z. Character entry is not required.
|
|
|
xamCurrencyInput xamNumericInput xamMaskedInput
|
A group of n’s can be used to create a numeric section where numbers are entered from right to left. Character must be numeric (0-9) but entry is not required.
|
|
Arbitrary set of accepted characters
|
|
The {char:n:s} mask allows you to define a placeholder with arbitrary set of acceptable characters. The 'n' in the mask specifies the number of character placeholders in the mask. The 's' specifies the set of acceptable characters. The following are some examples of this mask:
-
{char:1:abc} - This mask will have single character placeholder that will accept 'a', 'b' or 'c' characters only.
-
{char:4:abc} - Same as above except 4 character placeholders is created.
-
{char:8:0-9a-f} - 8 character placeholders where each will allow 0-9 and a-f characters (in effect hexadecimal characters).
|
|
|
|
The combination of these three tokens is used to define a date mask. The mm is for month, dd for day, yy for two-digit years and yyyy for four-digit years. Examples: mm/dd/yyyy, yyyy/mm/dd, mm/yy.
|
|
|
|
The combination of these tokens is used to define a time mask. The hh is for hour, mm for minute, ss for second, and tt for AM/PM. Examples: hh:mm, hh:mm tt, hh:mm:ss.
|
|
|
|
The {date} token is a placeholder for short date input. The date mask is derived using the underlying culture settings.
|
|
|
|
The {time} token is a placeholder for short time input. Short time typically does not include the seconds portion of time. The time mask is derived using the underlying culture settings.
|
|
|
|
The {longtime} token is a placeholder for long time input. Long time typically includes the seconds portion of the time. The long time mask is derived using the underlying culture settings.
|
|
Customized floating poing input
|
xamNumericInput xamMaskedInput
|
The {double:i.f:c} token is a placeholder for a mask that allows floating point input where i and f specify the number of digits in the integer and fraction portions respectively. The :c portion of the mask is optional and specifies that the value must be continuous across fraction and integer portions. For example, with :c in the mask, in order to enter 12.34 the user types in "1234". Notice that the decimal separator character is missing. This alleviates the user from having to manually type in the decimal separator. The "-" (minus) symbol before i.f is also optional. Presence of ‘-‘ symbol indicates that the negative values are allowed. If ‘-‘ symbol is not included then only non-negative values will be allowed.
|
|
Customized currency input
|
|
Same as {double:i.f:c} except the mask is constructed based on currency formatting information of the underlying format provider or the culture. It typically has the currency symbol and also displays the group characters.
|
|
|
xamCurrencyInput xamNumericInput xamMaskedInput
|
The {number:min-max} placeholder is used for a number section that can accept values in the range from min to max. Examples: {number:0-255}, {number:-10-10}.
|
|
|
|
All other symbols are displayed as literals; that is, they appear as themselves.
|