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

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <TextBlock Text="Lewo / Góra"
                   HorizontalAlignment="Left"
                   VerticalAlignment="Top"
                   Tapped="OnTextBlockTapped" />

        <TextBlock Text="Środek / Góra"
                   HorizontalAlignment="Center"
                   VerticalAlignment="Top"
                   Tapped="OnTextBlockTapped" />

        <TextBlock Text="Prawo / Góra"
                   HorizontalAlignment="Right"
                   VerticalAlignment="Top"
                   Tapped="OnTextBlockTapped" />

        <TextBlock Text="Lewo / Środek"
                   HorizontalAlignment="Left"
                   VerticalAlignment="Center"
                   Tapped="OnTextBlockTapped" />

        <TextBlock Text="Środek / Środek"
                   HorizontalAlignment="Center"
                   VerticalAlignment="Center"
                   Tapped="OnTextBlockTapped" />

        <TextBlock Text="Prawo / Środek"
                   HorizontalAlignment="Right"
                   VerticalAlignment="Center"
                   Tapped="OnTextBlockTapped" />

        <TextBlock Text="Lewo / Dół"
                   HorizontalAlignment="Left"
                   VerticalAlignment="Bottom"
                   Tapped="OnTextBlockTapped" />

        <TextBlock Text="Środek / Dół"
                   HorizontalAlignment="Center"
                   VerticalAlignment="Bottom"
                   Tapped="OnTextBlockTapped" />

        <TextBlock Text="Prawo / Dół"
                   HorizontalAlignment="Right"
                   VerticalAlignment="Bottom"
                   Tapped="OnTextBlockTapped" />
    </Grid>
</Page>
