You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.9 KiB

<Page
x:Class="Microsoft.Samples.Kinect.InfraredBasics.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Microsoft.Samples.Kinect.InfraredBasics"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Unloaded="MainPage_Unloaded"
>
<Page.Resources>
<SolidColorBrush x:Key="MediumGreyBrush" Color="#ff6e6e6e" />
<SolidColorBrush x:Key="KinectPurpleBrush" Color="#ff52318f" />
<SolidColorBrush x:Key="KinectBlueBrush" Color="#ff00BCF2" />
</Page.Resources>
<Grid Background="White" Margin="10 0 10 0">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Image Source="Images/Logo.png" Stretch="Fill" Height="32" Width="81" Margin="10 10 0 5"
Grid.Row="0" HorizontalAlignment="Left"/>
<Image Source="Images/Status.png" Stretch="None" HorizontalAlignment="Center"
Margin="0 0 0 5" Grid.Row="0"/>
<TextBlock Margin="0,0,10,10" VerticalAlignment="Bottom" HorizontalAlignment="Right" Foreground="{StaticResource MediumGreyBrush}" FontFamily="Segoe UI" FontSize="18"
Grid.Row="0">Infrared Basics</TextBlock>
<Viewbox Grid.Row="1" HorizontalAlignment="Center">
<Image Name="theImage" Stretch="UniformToFill" />
</Viewbox>
<StackPanel Grid.Row="3" HorizontalAlignment="Stretch" Name="statusBar" VerticalAlignment="Bottom" Background="White">
<TextBlock Text="{Binding StatusText}" Foreground="Black"/>
</StackPanel>
</Grid>
</Page>