Properties

Enable Date Picker

Select this option to enable a drop-down date selector.  When this option is enabled, the Edit Format Property becomes required and accepts a standard DateTime Formatter.  When specifying the Edit Format property, the value must match the Input Mask.

Example:   Input mask = 00/00/0000

      Edit Format = MM/dd/yyyy

DateTime Standard Format Specifier:

    d - Short date pattern

    t - Short time pattern

    f - Full date/time pattern (short time)

    g - General date/time pattern (short time)

    M - month day pattern

    y - Year month pattern

Please see http://msdn2.microsoft.com/en-us/library/8kb3ddd4(VS.71).aspx for more information regarding DateTime format specifiers.

Input Mask

Used to specify the string that will represent the input mask.  See Masking Character Description below, which contains the masking characters that can be provided.

Masking Character Description

    0 Digit (0 to 9, entry required, plus [+] and minus [–] signs not allowed)

    9 Digit or space (entry not required, plus and minus signs not allowed)

    # Digit or space (entry not required; spaces are displayed as blanks while in Edit mode, but blanks are removed when data is saved; plus and minus signs allowed)

    L Letter (A to Z, entry required)

    ? Letter (A to Z, entry optional)

    A Letter or digit (entry required)

    a Letter or digit (entry optional)

    & Any character or a space (entry required)

    C Any character or a space (entry optional)

    . , : ; - / Decimal placeholder and thousand, date and time separator

    Separator: A character that separates units of text or numbers. The actual character used depends on the settings in the Regional Settings Properties dialog box in Windows Control Panel.

    &< Causes all character to be converted to lowercase

    &> Causes all character to be converted to uppercase

Other characters display as literal characters. 

NOTE: The characters indicated above can not be used as literals.

Regular Expression Error Message

Used to specify an error message string to display to the user if the input fails the regular expression  validation.

Regular Expression Validation

Used to specify a regular expression string to validate the input against.

If you want the field to be validated by a regular expression, supply the regular expression needed to the Regular Expression Validation property.  You can also supply a custom message to be displayed to the user if the Regular Expression Validation fails.  Provide this string in the Regular Expression Error Message property.

Save Prompt Chars

Enable this option to force the mask to save the specified prompt character in place of any untyped mask characters.