Example #1
0
        protected virtual void OnChildPropertyChanged(SkinObject subObject, string propertyName)
        {
            if (ChildPropertyChanged != null)
            {
                ChildPropertyChanged(this, new ChildPropertyChangedEventArgs(subObject, propertyName));
            }

            if (Parent != null)
            {
                Parent.OnChildPropertyChanged(subObject, propertyName);
            }
        }
Example #2
0
 public ChildPropertyChangedEventArgs(SkinObject subObject, string propertyName)
     : base(propertyName)
 {
     _subObject = subObject;
 }