<UserControl x:Class="MapsSamples.MapShape"
             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:c1="http://schemas.componentone.com/winfx/2006/xaml" 
             xmlns:local="clr-namespace:MapsSamples">
    <Grid>
        <Border BorderThickness="3">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition />
                </Grid.RowDefinitions>
                <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                    <TextBlock Text="Country:" VerticalAlignment="Center"></TextBlock>
                    <ComboBox x:Name="countriesCombo" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Margin="5 0 0 0" Width="200" Height="30" SelectionChanged="countriesCombo_SelectionChanged">
                        <ComboBox.ItemTemplate>
                            <DataTemplate>
                                <TextBlock Text="{Binding Value}"></TextBlock>
                            </DataTemplate>
                        </ComboBox.ItemTemplate>
                    </ComboBox>
                </StackPanel>
                <c1:C1Maps x:Name="maps" Center="-115, 50" Grid.Row="1"/>
            </Grid>
        </Border>
    </Grid>
</UserControl>
