UWP - Simple Pivot example

MainPage.xaml

<Page
    x:Class="UniversalAppTutorials.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:UniversalAppTutorials"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <StackPanel 
        x:Name="StackPanel1" 
        Margin="50" 
        Orientation="Vertical"
        Background="AliceBlue"
        Padding="50"
        >
        <Pivot x:Name="Pivot1" Title="Simple Pivot" Background="PaleVioletRed" Padding="0,0,0,15">
            <PivotItem Header="Rectangle" Background="Pink">
                <StackPanel Orientation="Vertical" Padding="50">
                    <TextBlock 
                        Text="Pivot Item 1 : Rectangle"
                        Margin="0,0,0,15"
                    />
                    <Rectangle
                        Width="400"
                        Height="200"
                        Fill="Crimson"
                    />
                </StackPanel>
            </PivotItem>
            <PivotItem Header="Ellipse" Background="Orange">
                <StackPanel Orientation="Vertical" Padding="50">
                    <TextBlock 
                        Text="Pivot Item 2 : Ellipse"
                        Margin="0,0,0,15"
                    />
                    <Ellipse
                        Width="400"
                        Height="200"
                        Fill="Blue"
                    />
                </StackPanel>
            </PivotItem>
            <PivotItem Header="Border" Background="CornflowerBlue">
                <StackPanel Orientation="Vertical" Padding="50">
                    <TextBlock 
                        Text="Pivot Item 3 : Border"
                        Margin="0,0,0,15"
                    />
                    <Border
                        Width="400"
                        Height="200"
                        BorderBrush="Snow"
                        BorderThickness="5"                        
                    />
                </StackPanel>
            </PivotItem>
        </Pivot>
    </StackPanel>
</Page>