KinectRegion Class

Represents a XAML control which provides a Kinect hand cursor and interactivity with elements contained within the KinectRegion.

Syntax

public ref class KinectRegion sealed : public ContentControl
public sealed class KinectRegion : ContentControl

Members

KinectRegion has the following members.

Constructors

Name Description
KinectRegion Initializes a new instance of the KinectRegion class.

Properties

Name Description
Bounds Gets the bounds of the control.
CursorSpriteSheetDefinition Gets the cursor sprite sheet definition for the control.
DefaultKinectSound Gets the default sounds for the control.
DefaultSpriteSheet Gets the default sprite sheet for the control.
InputPointerManager Gets the InputPointerManager associated with the control.
IsKinectSoundEnabled Gets or sets a value indicating whether Kinect sound is enabled.
IsPressTargetProperty Identifies the IsPressTarget dependency property.
KinectControllerProperty Identifies the KinectController dependency property.
KinectEngagementManager Gets the Kinect engagement manager associated with the control.
KinectPressInsetProperty Idenitifies the KinectPressInset dependency property.
KinectSoundDefinition Gets or sets the KinectSoundDefinition object for the control.

Methods

Name Description
GetIsCursorVisible Gets a value indicating whether the cursor is visible.
GetIsPressTarget Gets a value indicating if the control is a press target.
GetKinectPressInset Gets the thickness of the inset border displayed during a press gesture.
GetManipulationProgress Gets a value indicating the current progress of a manipulation gesture.
SetIsCursorVisible Sets a value indicating whether the cursor is visible.
SetIsPressTarget Sets a value indicating whether the control is a press target.
SetKinectOnePersonManualEngagement Instructs the region to track one body/hand pair that is specified by the application as currently engaged.
SetKinectOnePersonSystemEngagement Instructs the region to track one body/hand pair that is dynamically determined by the system as currently engaged.
SetKinectPressInset Sets the thickness of the inset border displayed during a press gesture.
SetKinectTwoPersonManualEngagement Instructs the region to track two body/hand pairs that are specified by the application as currently engaged.
SetKinectTwoPersonSystemEngagement Instructs the region to track two body/hand pairs that are dynamically determined by the system as currently engaged.
SetManipulationProgress Sets the manipulation progress for the KinectRegion.

Remarks

Requirements

Namespace: Microsoft.Kinect.Xaml.Controls

Assembly: (in )

See also

Reference

Microsoft.Kinect.Xaml.Controls Namespace