System.Windows.Forms.ToolStripDropDownItem.ProcessDialogKey Method

Processes a dialog key.

Syntax

protected override bool ProcessDialogKey (Keys keyData)

Parameters

keyData
One of the System.Windows.Forms.Keys values that represents the key to process.

Returns

true if the key was processed by the item; otherwise, false.

Remarks

This method is called during message preprocessing to handle the UP, DOWN, LEFT, RIGHT, ENTER, and SPACEBAR keys in order to navigate the hierarchy of drop-down menus.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0