<Page
    x:Class="SimpleVerticalStack.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:SimpleVerticalStack"
    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}">
        <StackPanel Background="Blue"
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center">
            
            <TextBlock Text="Tekst wyrównany do prawej"
                       FontSize="48"
                       HorizontalAlignment="Right" />
            
            <Image Source="http://www.charlespetzold.com/pw6/PetzoldJersey.jpg"
                   Stretch="None" />
            
            <TextBlock Text="Rysunek 1. Petzold idzie na boisko do koszykówki"
                       FontSize="24"
                       HorizontalAlignment="Center" />
            
            <Ellipse Stroke="Red"
                     StrokeThickness="12" 
                     Height="48"
                     Fill="Blue" />
            
            <TextBlock Text="Tekst wyrównany do lewej"
                       FontSize="36"
                       HorizontalAlignment="Left" />
        </StackPanel>
    </Grid>
</Page>

