Share via


PressableModel.PressingUpdated Event

Occurs when a press gesture associated with the Kinect Toolkit input element is updated.

Syntax

public:
event TypedEventHandler<IPressableModel, KinectPressingUpdatedEventArgs>^ PressingUpdated {
         EventRegistrationToken add (TypedEventHandler<IPressableModel, KinectPressingUpdatedEventArgs>^ value);
         void remove (EventRegistrationToken token);
}
public event TypedEventHandler<IPressableModel, KinectPressingUpdatedEventArgs> PressingUpdated
function onPressingUpdated(eventArgs) { /* Your code */ }

// addEventListener syntax
pressableModel.addEventListener("pressingupdated", onPressingUpdated);
pressableModel.removeEventListener("pressingupdated", onPressingUpdated);

- or -

pressableModel.onpressingupdated = onPressingUpdated;

Requirements

Namespace: Microsoft.Kinect.Toolkit.Input

Assembly: (in )

See also

Reference

PressableModel Class
Microsoft.Kinect.Toolkit.Input Namespace