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

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