Advanced Live Tiles, Part 3: Lock Screens: Listing 1

MainPage.xaml

<Page
    x:Class="VSMAdvancedTilesP3Demo.MainPage"
    IsTabStop="false"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:VSMAdvancedTilesP3Demo"
    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 Margin="10" MaxWidth="600">
            <TextBlock>Message</TextBlock>
            <TextBox x:Name="Message"></TextBox>
            <Button x:Name="SendBadge" Click="SendBadge_Click">Send Badge</Button>
            <Button x:Name="SendTile" Click="SendTile_Click">Send Tile</Button>
            <TextBlock>Status</TextBlock>
            <TextBlock x:Name="Status"></TextBlock>
        </StackPanel>
    </Grid>
</Page>

About the Author

Eric Vogel is a Sr. Software Developer at Kunz, Leigh, & Associates in Okemos, MI. He is the president of the Greater Lansing User Group for .NET. Eric enjoys learning about software architecture and craftsmanship, and is always looking for ways to create more robust and testable applications. Contact him at vogelvision@gmail.com.