共用方式為


ToolWindowPane.OnNavigationKeyDown(UInt32, UInt32) Method

Definition

Allows the pane to intercept certains keys (after a search is started), and navigate between the results or select one of the results displayed in the pane.

public:
 virtual bool OnNavigationKeyDown(System::UInt32 dwNavigationKey, System::UInt32 dwModifiers);
public:
 virtual bool OnNavigationKeyDown(unsigned int dwNavigationKey, unsigned int dwModifiers);
 virtual bool OnNavigationKeyDown(unsigned int dwNavigationKey, unsigned int dwModifiers);
public virtual bool OnNavigationKeyDown (uint dwNavigationKey, uint dwModifiers);
abstract member OnNavigationKeyDown : uint32 * uint32 -> bool
override this.OnNavigationKeyDown : uint32 * uint32 -> bool
Public Overridable Function OnNavigationKeyDown (dwNavigationKey As UInteger, dwModifiers As UInteger) As Boolean

Parameters

dwNavigationKey
UInt32

Navigation key of interest of values from VSConstants.VsSearchNavigationKeys

dwModifiers
UInt32

Modifier flags of values from VSConstants.VsUIAccelModifiers

Returns

Implements

Applies to