TextBoxBase.ProcessDialogKey(Keys) 方法

定义

处理对话框键。Processes a dialog key.

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

参数

keyData
Keys

Keys 值之一,表示要处理的键。One of the Keys values that represents the key to process.

返回

如果键已由控件处理,则为 true;否则为 falsetrue if the key was processed by the control; otherwise, false.

适用于

另请参阅