SearchControlDataSource::OnNotifyNavigationKey Method (VSConstants::VsSearchNavigationKeys, VSConstants::VsUIAccelModifiers)

 

Provides class handling for the search control data source to intercept specific key presses for navigation between the results already found.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

protected:
virtual bool OnNotifyNavigationKey(
	VSConstants::VsSearchNavigationKeys navKey,
	VSConstants::VsUIAccelModifiers modifiers
)

Parameters

navKey
Type: Microsoft.VisualStudio::VSConstants::VsSearchNavigationKeys

The key that was pressed.

modifiers
Type: Microsoft.VisualStudio::VSConstants::VsUIAccelModifiers

The modifier or accelerator keys that were pressed.

Return Value

Type: System::Boolean

Returns true if the key was processed; otherwise, returns false if the search control should process it.Boolean.

Return to top
Show: