Click or drag to resize

FixedMaskedTextProviderMask Property

Gets the mask for this provider, as specified in the constructor.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public string Mask { get; }

Property Value

Type: String
The text mask.
Remarks
The mask format can consist of the following characters: 0 - Required digit from 0-9. 9 - Optional digit or space. # - Optional digit, space, or sign (+/-). If blank, then it is output as a space in the Text value. L - Required upper or lowercase letter. ? - Optional upper or lowercase letter. & - Required character. If AsciiOnly is true, then behaves like L. C - Optional character. If AsciiOnly is true, then behaves like ?. A - Required alphanumeric character. If AsciiOnly is true, then behaves like L. a - Optional alphanumeric. If AsciiOnly is true, then behaves like ?. . - Decimal placeholder based on the specified Culture for the mask. , - Thousands placeholder based on the specified Culture for the mask. : - Time separator based on the specified Culture for the mask. / - Date separator based on the specified Culture for the mask. $ - Currency symbol based on the specified Culture for the mask. < - Shift all characters that follow to lower case. > - Shift all characters that follow to upper case. | - Disables a previous shift to upper or lower case. \ - Escape the following character into a literal. All other characters are treated as literal and cannot be moved or deleted.
See Also