System.Windows.Forms.TextBoxBase.IsInputKey Method

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

Syntax

protected override bool IsInputKey (Keys keyData)

Parameters

keyData
One of the Keys value.

Returns

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

Remarks

The TextBoxBase.IsInputKey(Keys) method returns true when the keyData parameter includes the Keys.Tab value and the TextBoxBase.AcceptsTab property is true. TextBoxBase.IsInputKey(Keys) returns false if keyData contains both Keys.Tab and Keys.Control.

Requirements

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