Share via


ColorFrameReader.PropertyChanged Event

Occurs when a property of the ColorFrameReader 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
colorFrameReader.addEventListener("propertychanged", onPropertyChanged);
colorFrameReader.removeEventListener("propertychanged", onPropertyChanged);

- or -

colorFrameReader.onpropertychanged = onPropertyChanged;

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

ColorFrameReader Class
WindowsPreview.Kinect Namespace