protected virtual void OnChildPropertyChanged(SkinObject subObject, string propertyName) { if (ChildPropertyChanged != null) { ChildPropertyChanged(this, new ChildPropertyChangedEventArgs(subObject, propertyName)); } if (Parent != null) { Parent.OnChildPropertyChanged(subObject, propertyName); } }
public ChildPropertyChangedEventArgs(SkinObject subObject, string propertyName) : base(propertyName) { _subObject = subObject; }