ListControl.IsInputKey(Keys) 方法

定义

处理特殊输入键,如 Page Up、Page Down、Home、End 等等。Handles special input keys, such as PAGE UP, PAGE DOWN, HOME, END, and so on.

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 values of Keys.

返回

如果 keyData 参数指定 EndHomePageUpPageDown 键,则为 true;如果 keyData 参数指定 Alt,则为 falsetrue if the keyData parameter specifies the End, Home, PageUp, or PageDown key; false if the keyData parameter specifies Alt.

适用于