UMD.HCIL.Piccolo.PNode.FireChildPropertyChangedEvent C# (CSharp) Method

FireChildPropertyChangedEvent() protected method

Called by child node to forward property change events up the node tree so that property change listeners registered with this node will be notified of property changes of its children nodes.
For performance reason only propertyCodes listed in the propertyChangeParentMask are forwarded.
protected FireChildPropertyChangedEvent ( UMD.HCIL.Piccolo.Event.PPropertyEventArgs e, object propertyKey, int propertyCode ) : void
e UMD.HCIL.Piccolo.Event.PPropertyEventArgs The property change event to forward.
propertyKey object The key associated with the property that changed.
propertyCode int The code that identifies the property that changed.
return void
		protected virtual void FireChildPropertyChangedEvent(PPropertyEventArgs e, object propertyKey, int propertyCode) {
			PPropertyEventHandler h = GetPropertyHandlers(propertyKey);
			if (h != null) {
				h(this, e);
			}

			if (parent != null && (propertyCode & propertyChangeParentMask) != 0) {
				parent.FireChildPropertyChangedEvent(e, propertyKey, propertyCode);
			}
		}