示例#1
0
 void NotifyChildChanged(HierarchyNodePropertyChangedEventArgs e)
 {
     if (ChildChanged != null)
     {
         ChildChanged(this, e);
     }
     NotifyDescendantChanged(e);
 }
示例#2
0
 protected void NotifyChanged(HierarchyNodePropertyChangedEventArgs e)
 {
     //PropertyChanged(this, new PropertyChangedEventArgs(e.PropertyName));
     base.RaisePropertyChanged(e.PropertyName);
     Changed(this, e);
     if (Parent != null)
     {
         Parent.NotifyChildChanged(e);
     }
 }
示例#3
0
 protected void NotifyDescendantChanged(HierarchyNodePropertyChangedEventArgs e)
 {
     if (DescendantChanged != null)
     {
         DescendantChanged(this, e);
     }
     if (Parent != null)
     {
         Parent.NotifyDescendantChanged(e);
     }
 }