Back to Devexpress

BingMapDataProviderBase.BingKey Property

wpf-devexpress-dot-xpf-dot-map-dot-bingmapdataproviderbase.md

latest2.6 KB
Original Source

BingMapDataProviderBase.BingKey Property

Get or sets the key that is required to connect to the Bing Maps data provider.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public string BingKey { get; set; }
vb
Public Property BingKey As String

Property Value

TypeDescription
String

A String that stores a Bing Maps key.

|

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

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#L37

xml
ShowSearchPanel="False"
BingKey="{Binding Source={StaticResource bingKey}}"
SearchCompleted="searchProvider_SearchCompleted">

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

xml
<dxm:BingSearchDataProvider x:Name="searchDataProvider"
                            BingKey="{Binding Source={StaticResource bingMapsKey}}"
                            SearchCompleted="OnSearchCompleted"

See Also

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

BingMapDataProviderBase Class

BingMapDataProviderBase Members

DevExpress.Xpf.Map Namespace