Click or drag to resize

FixedMaskedTextProvider Constructor

Initializes a new instance of the FixedMaskedTextProvider class.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public FixedMaskedTextProvider(
	string mask,
	CultureInfo culture = null,
	bool allowPromptAsInput = true,
	bool restrictToAscii = false
)

Parameters

mask
Type: SystemString
Mask for the input. See Mask for mask format.
culture (Optional)
Type: System.GlobalizationCultureInfo
Culture to format date/time separators and numeric placeholders.
allowPromptAsInput (Optional)
Type: SystemBoolean
If set to true, then allow the PromptChar as valid input.
restrictToAscii (Optional)
Type: SystemBoolean
If set to true, restrict input characters to ASCII only (a-z or A-Z).
See Also