SearchPopupNavigationService.GetCurrentLocation(Popup) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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