PrintPreviewDialog.ProcessDialogKey(Keys) PrintPreviewDialog.ProcessDialogKey(Keys) PrintPreviewDialog.ProcessDialogKey(Keys) PrintPreviewDialog.ProcessDialogKey(Keys) Method

定义

确定是否应进一步处理一个键。Determines whether a key should be processed further.

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 Keys Keys

Keys 值之一。One of the Keys values.

返回

true,则指示应处理该键;否则为 falsetrue to indicate the key should be processed; otherwise, false.

注解

Keys.UpKeys.Down、和Keys.Left键值将ProcessDialogKey返回;否则,处理会传递到基类的方法。false Keys.RightThe Keys.Up, Keys.Down, Keys.Right, and Keys.Left key values will return false; otherwise, processing is passed to the base class's ProcessDialogKey method.

安全性

UIPermission
用于指定允许的 windows 类型。for specifying the type of windows allowed. 关联枚举AllWindowsAssociated enumeration AllWindows

适用于