Controls Basics WPF-C# Sample

Kinect for Windows 1.7, 1.8

Shows the use of the WPF Kinect Controls, demonstrating the Kinect Tile Button, Grip/Release and Scroll interactions, Press interactions, and the User Viewer.

Overview

When you run this sample, you see the following:

  • A user viewer window, showing the depth stream view of the user.
  • A series of tile buttons with sequential numbers.

The sample allows you to scroll through the series of tile buttons (there are 300 of them in a giant scroll viewer window, select one by pressing on it, and then returning to the main view by pressing again.

Once a tile has been selected, the sample will also return to the main view in several seconds if the tile is not pressed a second time.

Notes

Note that this sample does not call the APIs directly, but uses all of the WPF controls provided by the Microsoft.Kinect.Toolkit.Controls DLL.

To run a sample you must have the Kinect for Windows SDK installed. To compile a sample, you must have the developer toolkit installed. The latest SDK and developer toolkit are available on the developer download page. If you need help installing the toolkit, look on this page: To Install the SDK and Toolkit. The toolkit includes a sample browser, which you can use to launch a sample or download it to your machine. To open the sample browser, click Start > All Programs > Kinect for Windows SDK [version number] > Developer Toolkit Browser.

If you need help loading a sample in Visual Studio or using Visual Studio to compile, run, or debug, see Opening, Building, and Running Samples in Visual Studio.

Community Additions

ADD
Show: