Back to Devexpress

BingSearchDataProvider Class

wpf-devexpress-dot-xpf-dot-map-432691cf.md

latest3.9 KB
Original Source

BingSearchDataProvider Class

OBSOLETE

This class is obsolete. Microsoft deprecated Bing Maps on June 30th, 2025. For alternative providers, see https://www.devexpress.com/bing-maps-wpf

The class that is used to send requests to the Bing Maps Search service.

Namespace : DevExpress.Xpf.Map

Assembly : DevExpress.Xpf.Map.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
[Obsolete("This class is obsolete. Microsoft deprecated Bing Maps on June 30th, 2025. For alternative providers, see https://www.devexpress.com/bing-maps-wpf")]
[PreferableMember("BingSearchDataProvider", "", "")]
public class BingSearchDataProvider :
    BingMapDataProviderBase,
    ISearchPanelRequestSender
vb
<Obsolete("This class is obsolete. Microsoft deprecated Bing Maps on June 30th, 2025. For alternative providers, see https://www.devexpress.com/bing-maps-wpf")>
<PreferableMember("BingSearchDataProvider", "", "")>
Public Class BingSearchDataProvider
    Inherits BingMapDataProviderBase
    Implements ISearchPanelRequestSender

The following code snippets (auto-collected from DevExpress Examples) contain references to the BingSearchDataProvider class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-map-process-search-with-a-custom-search-panel/CS/MapControl_SearchPanel/MainWindow.xaml#L35

xml
<dxm:InformationLayer.DataProvider>
    <dxm:BingSearchDataProvider x:Name="searchProvider"
                                ShowSearchPanel="False"

wpf-map-search-with-azure-map-search-service/CS/DXMapExample/MainWindow.xaml#L30

xml
<!--region #SearchCompleted-->
<dxm:BingSearchDataProvider x:Name="searchDataProvider"
                            BingKey="{Binding Source={StaticResource bingMapsKey}}"

Implements

ISupportWebRequest

ISearchPanelRequestSender

Inheritance

Object DispatcherObject DependencyObject Freezable MapDependencyObject InformationDataProviderBase WebInformationDataProvider<DevExpress.Map.Native.XmlProvidedEventArgs> BingMapDataProviderBase BingSearchDataProvider

See Also

BingSearchDataProvider Members

DevExpress Map Control for WPF: Migrate from Bing Maps to Azure Maps

DevExpress.Xpf.Map Namespace