<UserControl x:Class="BingMapsWinForm.MapUserControl"
             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:m="clr-namespace:Microsoft.Maps.MapControl.WPF;assembly=Microsoft.Maps.MapControl.WPF" mc:Ignorable="d" Height="237" Width="464">
    <Grid>
        <m:Map Name="Map" Mode="AerialWithLabels"/>
        
        <TextBox Name="TextBox1" VerticalAlignment="Top" HorizontalAlignment="Right" BorderBrush="Transparent"  BorderThickness="2" Opacity="0.8" Visibility="Hidden" Width="180"
        Text="Hello! I am a TextBox." TextWrapping="WrapWithOverflow"/>

        <Button Name="Button1" Width="15" Height="15" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20,5" Content="˄" FontFamily="XVM ZeGnor" HorizontalContentAlignment="Center" VerticalContentAlignment="Top" FontStretch="UltraExpanded" FontSize="8" FontWeight="Bold" Click="Button1_Click"/> 
            
        <Button Name="Button2" Width="15" Height="15" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,20" Content="&lt;" FontFamily="XVM ZeGnor" HorizontalContentAlignment="Center" VerticalContentAlignment="Top" FontStretch="UltraExpanded" FontSize="8" FontWeight="Bold" Click="Button2_Click"/>

        <Button Name="Button3" Width="15" Height="15" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="35,20" Content="&gt;" FontFamily="XVM ZeGnor" HorizontalContentAlignment="Center" VerticalContentAlignment="Top" FontStretch="UltraExpanded" FontSize="8" FontWeight="Bold" Click="Button3_Click"/>

        <Button Name="Button4" Width="15" Height="15" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20,35" Content="˅" FontFamily="XVM ZeGnor" HorizontalContentAlignment="Center" VerticalContentAlignment="Top" FontStretch="UltraExpanded" FontSize="8" FontWeight="Bold" Click="Button4_Click"/>
      
        <Slider Name="slider" HorizontalContentAlignment="Left" Orientation="Vertical" Width="15" Height="100" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20,60" TickPlacement="BottomRight" Maximum="19" Minimum="1" IsDirectionReversed="True" ValueChanged="slider_ValueChanged" Value="{Binding Path=ZoomLevel, ElementName=Map}"/>
    </Grid>
</UserControl>
