FixedMaskedTextProviderT Constructor |
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
)
Public Sub New (
mask As String,
Optional culture As CultureInfo = Nothing,
Optional allowPromptAsInput As Boolean = true,
Optional restrictToAscii As Boolean = false
)
new :
mask : string *
?culture : CultureInfo *
?allowPromptAsInput : bool *
?restrictToAscii : bool
(* Defaults:
let _culture = defaultArg culture null
let _allowPromptAsInput = defaultArg allowPromptAsInput true
let _restrictToAscii = defaultArg restrictToAscii false
*)
-> FixedMaskedTextProvider
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