A newer version of this page is available. Switch to the current version.

BingMapDataProvider.Kind Property

Gets or sets a value specifying the type of images to be displayed on a map.

Namespace: DevExpress.Xpf.Map

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


public BingMapKind Kind { get; set; }
Public Property Kind As BingMapKind

Property Value

Type Description

A BingMapKind enumeration value.


This example demonstrates how to connect to the Bing Maps web service using the BingMapDataProvider object.

Note that if you run this sample as is, you will get a warning message saying that the specified Bing Maps key is invalid. To learn more about Bing Map keys, please refer to the How to: Get a Bing Maps Key tutorial.

<Window xmlns:dxm="http://schemas.devexpress.com/winfx/2008/xaml/map"  
        Title="MainWindow" Height="350" Width="525">
        <dxm:MapControl CenterPoint="45,18" ZoomLevel="4" >
                <dxm:MiniMap Alignment="TopRight">
                        <dxm:FixedMiniMapBehavior CenterPoint="45, 18"/>
                        <dxm:BingMapDataProvider BingKey="YOUR BING KEY"/>
                    <dxm:BingMapDataProvider BingKey="YOUR BING KEY"/>
See Also