UWP - TextBlock background color 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"
        >
        <!-- Put TextBlock inside a Border and change the Border background color -->
        <Border Background="Red">
            <TextBlock
                Text="This is a sample text block."
                Margin="50"
                />
        </Border>
        <Border Background="Green">
            <TextBlock
                Text="This is another text block."
                Margin="50"
                />
        </Border>
        <Border Background="Blue">
            <TextBlock
                Text="This is another sample text block."
                Margin="50"
                />
        </Border>
    </StackPanel>
</Page>