Search Panel

The Search Panel is a UI element that accepts text input and displays results of a search request returned by the search service.

The Search Panel allows you to find a location on the map and see the search results for a request in the panel. To start searching, type a place name ("New York", for example) in the panel. The result is shown in the image below.

visual-elements-search-panel

To cancel a request, click the SearchPanel_CancelButton button in the panel on the right.

Search providers that can interact with the search panel should implement the ISearchPanelRequestSender interface.

Below are the main properties that affect element appearance and functionality.

Group Properties
Visibility MapControl.ShowSearchPanel

For more information on using this element, see the following example: How to: Connect a Map Control to the Bing Search Service.