예제 #1
0
 public NotifyProperty AddProperty(NotifyProperty prop)
 {
     Properties.Add(prop);
     prop.PropertyChanged += delegate(object sender, PropertyChangedEventArgs e) {
         SendPropertyChanged(e.PropertyName);
     };
     return(prop);
 }
예제 #2
0
 public void RemoveProperty(NotifyProperty prop)
 {
     Properties.Remove(prop);
 }