<Page
    x:Class="SimpleApp.Examples8_10"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:SimpleApp"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">

        <Border VerticalAlignment="Top" HorizontalAlignment="Left" Width="264" BorderBrush="Black" BorderThickness="1" Background="White" Margin="33,45,0,0">
            <!-- Listing 19-8 -->
            <Grid>
                <Button Content="Left" HorizontalAlignment="Left" />
                <Button Content="Center" HorizontalAlignment="Center" />
                <Button Content="Right" HorizontalAlignment="Right" />
            </Grid>
        </Border>
        
        <Grid HorizontalAlignment="Left" VerticalAlignment="Top" Margin="33,112,0,0">
            <!-- Listing 19-9 -->
            <StackPanel Margin="20" HorizontalAlignment="Left">
                <Rectangle Fill="Gray" Width="100" Height="25" />
                <Rectangle Fill="LightGray" Width="100" Height="25" />
                <Rectangle Fill="Gray" Width="100" Height="25" />
                <Rectangle Margin="10" Fill="LightGray" Width="100" Height="25" />
                <Rectangle Margin="10" Fill="Gray" Width="100" Height="25" />
                <Rectangle Margin="10" Fill="LightGray" Width="100" Height="25" />
            </StackPanel>

        </Grid>
        
        <Grid HorizontalAlignment="Left" VerticalAlignment="Top" Width="20" Height="100" Margin="236,131,0,0">
            <!-- Listing 19-10 -->
            <Border BorderBrush="Black" BorderThickness="2">
                <Ellipse HorizontalAlignment="Stretch" MaxWidth="200"
             Fill="Gray"  />
            </Border>

        </Grid>
        <Grid HorizontalAlignment="Left" VerticalAlignment="Top" Width="100" Height="100" Margin="278,131,0,0">
            <Border BorderBrush="Black" BorderThickness="2">
                <Ellipse HorizontalAlignment="Stretch" MaxWidth="200"
        			Fill="Gray"  />
            </Border>

        </Grid>
        
        <Grid HorizontalAlignment="Left" VerticalAlignment="Top" Width="250" Height="100" Margin="404,131,0,0">
            <Border BorderBrush="Black" BorderThickness="2">
                <Ellipse HorizontalAlignment="Stretch" MaxWidth="200"
        			Fill="Gray"  />
            </Border>
        </Grid>
        
    </Grid>
</Page>