Windows 8: Advanced Live Tiles, Part 2: Listing 4

MainPage.xaml

<Page
    x:Class="VSMAdvancedTilesP2Demo.MainPage"
    IsTabStop="false"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:VSMAdvancedTilesP2Demo"
    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="400">
         <TextBlock>Uri to Poll:</TextBlock>
         <TextBox x:Name="PollingUri"></TextBox>
        <TextBlock>Recurrence</TextBlock>
        <ComboBox x:Name="Recurrences"></ComboBox>
        <TextBlock>Notification Type</TextBlock>
        <ComboBox x:Name="NotifiactionTypes"></ComboBox>
        <TextBlock>Number</TextBlock>
        <TextBox x:Name="Number"></TextBox>
        <Button x:Name="PollButton" Click="PollButton_Click">Poll</Button>
    </StackPanel>
    </Grid>
</Page>

About the Author

Eric Vogel is a Senior Software Developer for Red Cedar Solutions Group in Okemos, Michigan. 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.