Back to Devexpress

TcxCustomDateEditProperties.InputKind Property

vcl-cxcalendar-dot-tcxcustomdateeditproperties.md

latest1.7 KB
Original Source

TcxCustomDateEditProperties.InputKind Property

Specifies how user input is validated.

Declaration

delphi
property InputKind: TcxInputKind read; write;

Property Value

Type
TcxInputKind

Remarks

Options include:

ValueDescription
ikStandardNo validation. This validation type does however support the SmartInput feature via the SmartTextToDate function.
ikMaskValidating 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.
ikRegExprValidating 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

TcxCustomDateEditProperties Class

TcxCustomDateEditProperties Members

cxCalendar Unit