<UserControl
    x:Class="AppBar.Tools.InsertImageTool"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:AppBar.Tools"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" Width="320" Height="100">
    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <Grid Margin="10">
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <TextBlock Text="Url:" VerticalAlignment="Center" FontSize="14"/>

            <TextBox x:Name="txtUrl" Grid.Column="1" Margin="5"/>
            <Button x:Name="btnFromWeb" Grid.Row="1" Grid.ColumnSpan="2" Content="Insert Picture" HorizontalAlignment="Right" Click="btnFromWeb_Click" Margin="3 0"/>
            <Button x:Name="btnChoosePhoto" Grid.Row="1" Grid.ColumnSpan="2" Content="Choose Picture..." HorizontalAlignment="Left" VerticalAlignment="Bottom" Click="btnChoosePhoto_Click" />
        </Grid>
    </Grid>
</UserControl>
