SearchPopupNavigationService::GetCurrentLocation Method (Popup^)

 

Gets the current navigation location in a search control’s popup when the popup is open.

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

public:
static FrameworkElement^ GetCurrentLocation(
	Popup^ searchControlPopup
)

Parameters

searchControlPopup
Type: System.Windows.Controls.Primitives::Popup^

The search control’s popup.

Return Value

Type: System.Windows::FrameworkElement^

Returns the current location if the popup is open; otherwise returns null if the popup is not open or the last control navigated to doesn’t exist in the popup.

Return to top
Show: