Mini Kabibi Habibi
<local:MapDemoModule x:Class="MapDemo.BingDataProvider"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:dxdb="http://schemas.devexpress.com/winfx/2008/xaml/demobase"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
xmlns:dxm="http://schemas.devexpress.com/winfx/2008/xaml/map"
xmlns:local="clr-namespace:MapDemo"
mc:Ignorable="d" d:DesignHeight="557" d:DesignWidth="2643">
<dxdb:DemoModuleControl>
<dxdb:DemoModuleControl.Resources>
<ResourceDictionary>
<local:DemoValuesProvider x:Key="DemoValuesProvider" />
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/MapDemo;component/Themes/generic.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</dxdb:DemoModuleControl.Resources>
<dxdb:DemoModuleControl.OptionsContent>
<StackPanel>
<dx:GroupFrame Header="Map Kind" Margin="0,0,0,10">
<dxe:ListBoxEdit Name="lbMapType" Background="{x:Null}" SelectedIndex="0" ShowBorder="False" ItemsSource="{Binding BingMapKinds, Source={StaticResource DemoValuesProvider}}">
<dxe:ListBoxEdit.StyleSettings>
<dxe:RadioListBoxEditStyleSettings />
</dxe:ListBoxEdit.StyleSettings>
</dxe:ListBoxEdit>
</dx:GroupFrame>
</StackPanel>
</dxdb:DemoModuleControl.OptionsContent>
<Grid>
<dxm:MapControl ZoomLevel="16" CenterPoint="48.857,2.341" FlowDirection="LeftToRight">
<dxm:ImageTilesLayer>
<dxm:ImageTilesLayer.DataProvider>
<dxm:BingMapDataProvider Kind="{Binding ElementName=lbMapType, Path=SelectedItem, Mode=TwoWay}" BingKey="{Binding DevexpressBingKey, Source={StaticResource DemoValuesProvider}}"/>
</dxm:ImageTilesLayer.DataProvider>
</dxm:ImageTilesLayer>
</dxm:MapControl>
</Grid>
</dxdb:DemoModuleControl>
</local:MapDemoModule>