Share via


PressableModel.HasCapture Property

Gets a boolean value indicating if the Kinect Toolkit input element is currently captured.

Syntax

public:
property bool HasCapture {
         bool get ();
         void set (bool value);
}
public bool HasCapture { get; set; }
var hasCapture = pressableModel.hasCapture;
pressableModel.hasCapture = hasCapture;

Property value

[C++] 
[C#] 
[JavaScript] 

Type: bool
Type: bool
Type: Boolean

 

True if the Kinect Toolkit input element is currently captured; otherwise, false.

Requirements

Namespace: Microsoft.Kinect.Toolkit.Input

Assembly: (in )

See also

Reference

PressableModel Class
Microsoft.Kinect.Toolkit.Input Namespace