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