Share via


BodyIndexFrameSource.PropertyChanged Event

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

- or -

bodyIndexFrameSource.onpropertychanged = onPropertyChanged;

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

BodyIndexFrameSource Class
WindowsPreview.Kinect Namespace