ColorFrameSource.PropertyChanged Event
Occurs when a property of the ColorFrameSource 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
colorFrameSource.addEventListener("propertychanged", onPropertyChanged);
colorFrameSource.removeEventListener("propertychanged", onPropertyChanged);
- or -
colorFrameSource.onpropertychanged = onPropertyChanged;
Requirements
Namespace: WindowsPreview.Kinect
Metadata: windowspreview.kinect.winmd