<Page
    x:Class="NativeUp.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:NativeUp"
    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 HorizontalAlignment="Center"
                VerticalAlignment="Center"
                RenderTransformOrigin="0.5 0.5">
            <Path Data="M 100 0 L 200 100, 150 100, 150 500, 50 500, 50 100, 0 100 Z"
                Stroke="Yellow"
                StrokeThickness="12"
                Fill="Red"
                RenderTransformOrigin="0.5 0.5"
                HorizontalAlignment="Center" />

            <TextBlock Text="W górę"
                    FontSize="96" />

            <StackPanel.RenderTransform>
                <RotateTransform x:Name="rotate" />
            </StackPanel.RenderTransform>
        </StackPanel>
    </Grid>
</Page>
