public void AddChild(SpaceChild spaceChild) { _children.Add(spaceChild); NotifyPropertyChanged("Children"); NotifyPropertyChanged("HasChildren"); spaceChild.PropertyChanged += new PropertyChangedEventHandler(spaceChild_PropertyChanged); }
public void RemoveChild(SpaceChild spaceChild) { _children.Remove(spaceChild); NotifyPropertyChanged("Children"); NotifyPropertyChanged("HasChildren"); }