Determines whether the specified key is a regular input key or a special key that requires preprocessing.
- keyData
- One of the System.Windows.Forms.Keys values.
true if the specified key is a regular input key; otherwise, false.
Call the Control.IsInputKey(Keys) method to determine whether the key specified by the keyData parameter is an input key that the control wants. This method is called during window message preprocessing to determine whether the specified input key should be preprocessed or sent directly to the control. If Control.IsInputKey(Keys) returns true, the specified key is sent directly to the control. If Control.IsInputKey(Keys) returns false, the specified key is preprocessed and only sent to the control if it is not consumed by the preprocessing phase. Keys that are preprocessed include the TAB, RETURN, ESC, and the UP ARROW, DOWN ARROW, LEFT ARROW, and RIGHT ARROW keys.