DataGridView.IsInputKey(Keys) 方法

定义

确定指定的键是常规输入键还是需要预处理的特殊键。Determines whether the specified key is a regular input key or a special key that requires preprocessing.

protected:
 override bool IsInputKey(System::Windows::Forms::Keys keyData);
protected override bool IsInputKey (System.Windows.Forms.Keys keyData);
override this.IsInputKey : System.Windows.Forms.Keys -> bool
Protected Overrides Function IsInputKey (keyData As Keys) As Boolean

参数

keyData
Keys

Keys 值之一。One of the Keys values.

返回

如果指定的键是常规输入键,则为 true;否则为 falsetrue if the specified key is a regular input key; otherwise, false.

适用于

另请参阅