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>



- UWP - How to create a multiline TextBox
- UWP - How to change TextBox background color
- UWP - Vertical FlipView example
- UWP - How to exit an app
- UWP - How to resize app window during runtime
- UWP - Get app screen size
- UWP - How to hide title bar
- UWP - Segoe MDL2 Assets font example
- UWP - SplitView example
- UWP - SymbolIcon example
- UWP - How to add a new line to a TextBlock
- UWP - PivotItem header with image and text
- UWP - Border example
- UWP - Polyline example
- UWP - Line example