Skip to content

Instantly share code, notes, and snippets.

@IsaacGonzalez
Created November 22, 2013 01:15
Show Gist options
  • Save IsaacGonzalez/7593043 to your computer and use it in GitHub Desktop.
Save IsaacGonzalez/7593043 to your computer and use it in GitHub Desktop.
<Window x:Class="KinectApplication.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:k="http://schemas.microsoft.com/kinect/2013"
xmlns:i="clr-namespace:Inercy.Kinect.Controls;assembly=Inercy.Kinect.Controls"
Title="MainWindow" Height="800" Width="1000" Closing="Window_Closing" Loaded="Window_Loaded">
<Grid>
<k:KinectRegion Name="kinectRegion" Margin="-10,10,10,-10">
<StackPanel Name="stack">
</StackPanel>
</k:KinectRegion>
<k:KinectUserViewer Name="kinectUserViewer" Width="300" Height="300" VerticalAlignment="Top"/>
<k:KinectSensorChooserUI Name="kinectSensorChooserUI" Width="100" Height="100" VerticalAlignment="Top" k:KinectRegion.KinectRegion="{Binding ElementName=kinectRegion}" />
<k:KinectUserViewer HorizontalAlignment="Right" Width="200" Height="200" VerticalAlignment="Top" k:KinectRegion.KinectRegion="{Binding ElementName=kinectRegion}"></k:KinectUserViewer>
<TextBlock HorizontalAlignment="Left" Margin="78,324,0,0" TextWrapping="Wrap" Text="Coordinates for HipCenter ( 0, 0)" VerticalAlignment="Top" FontSize="52" Name="Coordinates"/>
<i:ScreenSaver Name="screensaver"></i:ScreenSaver>
</Grid>
</Window>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment