Share via


DepthFrameReader.PropertyChanged Event

Occurs when a property of the DepthFrameReader class changes.

Syntax

public:
event PropertyChangedEventHandler^ PropertyChanged {
         EventRegistrationToken add (PropertyChangedEventHandler^ value);
         void remove (EventRegistrationToken token);
}
public event PropertyChangedEventHandler PropertyChanged
function onPropertyChanged(eventArgs) { /* Your code */ }

// addEventListener syntax
depthFrameReader.addEventListener("propertychanged", onPropertyChanged);
depthFrameReader.removeEventListener("propertychanged", onPropertyChanged);

- or -

depthFrameReader.onpropertychanged = onPropertyChanged;

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

DepthFrameReader Class
WindowsPreview.Kinect Namespace