System.Windows.Forms.DateTimePicker.IsInputKey Method

Determines whether the specified key is a regular input key or a special key that requires preprocessing.

Syntax

protected override bool IsInputKey (Keys keyData)

Parameters

keyData
One of the System.Windows.Forms.Keys values.

Returns

true if the specified key is a regular input key; otherwise, false.

Remarks

Call this method during window-message preprocessing to determine whether the specified key is a regular input key that should be sent directly to the control or a special key (such as PAGE UP and PAGE DOWN) that should preprocessed. In the latter case, send the key to the control only if it is not consumed by the preprocessing phase.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0