SearchPopupNavigationService.GetCurrentLocation(Popup) Method

Definition

Returns the current navigation location in a search control's popup when the popup is open

public:
 static System::Windows::FrameworkElement ^ GetCurrentLocation(System::Windows::Controls::Primitives::Popup ^ searchControlPopup);
public static System.Windows.FrameworkElement GetCurrentLocation (System.Windows.Controls.Primitives.Popup searchControlPopup);
static member GetCurrentLocation : System.Windows.Controls.Primitives.Popup -> System.Windows.FrameworkElement
Public Shared Function GetCurrentLocation (searchControlPopup As Popup) As FrameworkElement

Parameters

searchControlPopup
Popup

The search control’s popup.

Returns

The current location or null if the popup is not open or the last navigated control doesn't exist anymore in the popup

Applies to