/// <summary> /// Notifies all bound objects for a change in this property. /// </summary> internal void NotifyBoundObjects() { //no bound objects registered if (this.boundObjects == null) { return; } //update all bound objects that our value has changed int count = this.boundObjects.Count; for (int i = count - 1; i >= 0; i--) { PropertyBoundObject relation = this.boundObjects[i]; RadObject obj = relation.Object; if (obj != null) { obj.OnBoundSourcePropertyChanged(relation.Property); } else { this.boundObjects.RemoveAt(i); } } }
internal void NotifyBoundObjects() { if (this.boundObjects == null) { return; } for (int index = this.boundObjects.Count - 1; index >= 0; --index) { PropertyBoundObject boundObject = this.boundObjects[index]; RadObject radObject = boundObject.Object; if (radObject != null) { radObject.OnBoundSourcePropertyChanged(boundObject.Property); } else { this.boundObjects.RemoveAt(index); } } }