PrintPreviewDialog::ProcessDialogKey Method (Keys)

 

Determines whether a key should be processed further.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected:
[UIPermissionAttribute(SecurityAction::LinkDemand, Window = UIPermissionWindow::AllWindows)]
virtual bool ProcessDialogKey(
	Keys keyData
) override

Parameters

keyData
Type: System.Windows.Forms::Keys

One of the Keys values.

Return Value

Type: System::Boolean

true to indicate the key should be processed; otherwise, false.

The 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

for specifying the type of windows allowed. Associated enumeration AllWindows

.NET Framework
Available since 2.0
Return to top
Show: