共用方式為


SearchPopupNavigationService Class

Provides navigation support and tracking of the current location, at one the navigable child controls, in a search control’s popup.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.PlatformUI.SearchPopupNavigationService

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

Syntax

'宣告
Public NotInheritable Class SearchPopupNavigationService
public static class SearchPopupNavigationService

The SearchPopupNavigationService type exposes the following members.

Attached Properties

  Name Description
Public attached property CurrentLocation Gets or sets the current navigation location within this popup.
Public attached property CurrentLocationSetMode Gets or sets the property that tracks whether the CurrentLocation was last changed by keyboard or by mouse.
Public attached property IsCurrentLocation Gets or sets the flag indicating whether this element is the current location.
Public attached property IsNavigable Gets or sets the flag indicating whether it is possible to navigate to this element.
Public attached property IsNavigationEnabled Gets or sets the flag indicating whether navigation is enabled on this popup.

Top

Methods

  Name Description
Public methodStatic member GetCurrentLocation Gets the current navigation location in a search control’s popup when the popup is open.
Public methodStatic member GetCurrentLocationSetMode Obtains the value tracking whether the CurrentLocation was last changed by keyboard or by mouse.
Public methodStatic member GetIsCurrentLocation Gets or sets the flag indicating whether the specified element is the current location.
Public methodStatic member GetIsNavigable Gets or sets the flag indicating whether it is possible to navigate to the specified element.
Public methodStatic member GetIsNavigationEnabled Gets the flag indicating whether navigation is enabled on the specified popup.
Public methodStatic member SetCurrentLocation Sets the current navigation location in a search control’s popup when the popup is open.
Public methodStatic member SetCurrentLocationSetMode Sets the value which tracks whether the CurrentLocation was last changed by keyboard or by mouse.
Public methodStatic member SetIsCurrentLocation Sets the flag indicating whether the specified element is the current location.
Public methodStatic member SetIsNavigable
Public methodStatic member SetIsNavigationEnabled Sets the flag indicating whether navigation is enabled on the popup.

Top

Fields

  Name Description
Public fieldStatic member CurrentLocationProperty The current navigation location within the popup.
Public fieldStatic member CurrentLocationSetModeProperty A property tracking how the CurrentLocation was last changed, typically by keyboard or by mouse.
Public fieldStatic member IsCurrentLocationProperty A flag indicating whether this element is the current location.
Public fieldStatic member IsNavigableProperty A flag indicating whether it is possible to navigate to this element.
Public fieldStatic member IsNavigationEnabledProperty A flag indicating whether navigation is enabled on this popup.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.PlatformUI Namespace