Skip to content

Instantly share code, notes, and snippets.

@ChrisBriggsy
Created April 3, 2016 07:19
Show Gist options
  • Save ChrisBriggsy/56e890daf1e38a421a209b759337c782 to your computer and use it in GitHub Desktop.
Save ChrisBriggsy/56e890daf1e38a421a209b759337c782 to your computer and use it in GitHub Desktop.
Getting Started Developing UWP apps for Xbox One - Step 3. Update mainpage.xaml
<Page
x:Class="IoTBackUp.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:IoTBackUp"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid.RowDefinitions>
<RowDefinition Height="125*"/>
<RowDefinition Height="125*"/>
<RowDefinition Height="125*"/>
<RowDefinition Height="125*"/>
<RowDefinition Height="125*"/>
<RowDefinition Height="125*"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="2" Text="Temperature:" FontSize="48"/>
<TextBlock Grid.Row="2" Name="Temperature" Text="0" HorizontalAlignment="Center" FontSize="48"/>
<TextBlock Grid.Row="3" Text="Humdity:" FontSize="48"/>
<TextBlock Grid.Row="3" Name="Humdity" Text="0" HorizontalAlignment="Center" FontSize="48"/>
</Grid>
</Page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment