SearchPopupNavigationService.SetCurrentLocation Method
Sets the current navigation location in a search control’s popup when the popup is open.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaración
Public Shared Sub SetCurrentLocation ( _
searchControlPopup As Popup, _
value As FrameworkElement _
)
public static void SetCurrentLocation(
Popup searchControlPopup,
FrameworkElement value
)
Parameters
- searchControlPopup
Type: System.Windows.Controls.Primitives.Popup
The search control’s popup within which to set location.
- value
Type: System.Windows.FrameworkElement
The element to set to the current location.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.