<UserControl
    x:Class="MapsSamples.Marks"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:MapsSamples"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:c1="using:C1.Xaml.Maps"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="400">
    
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
            <TextBlock FontSize="16" Text="Map Source: " VerticalAlignment="Center" Margin="5"/>
            <ComboBox x:Name="comboSources" Width="180" SelectionChanged="comboSources_SelectionChanged" Margin="5"/>
        </StackPanel>
        <Border Grid.Row="1">
            <Grid x:Name="root">
                <c1:C1Maps x:Name="c1Maps1"/>
                <local:MapTool Maps="{Binding ElementName=c1Maps1}"></local:MapTool>
            </Grid>
        </Border>
    </Grid>
</UserControl>
