Skip to main content

TcxCustomDateEditProperties.InputKind Property

Specifies how user input is validated.

Declaration

property InputKind: TcxInputKind read; write;

Property Value

Type
TcxInputKind

Remarks

Options include:

Value Description
ikStandard No validation. This validation type does however support the SmartInput feature via the SmartTextToDate function.
ikMask Validating by mask. Same as the Delphi Native MaskEdit mask. The validation mask is obtained from the TcxFormatController.StandardDateEditMask property’s value. This validation type doesn’t support the SmartInput feature.
ikRegExpr Validating using regular expressions and the auto-complete feature. The validation mask is obtained from the TcxFormatController.RegExprDateEditMask property’s value. This validation type supports the SmartInput feature via the SmartTextToDate function.

If the Kind property is set to ckDate, the default value of the InputKind property is ikRegExpr. Otherwise, the default value is ikMask.

Note

If the operating system doesn’t use the Gregorian calendar, the default value of the InputKind property is always ikStandard.

See Also