标签:
//属性回显 protected void OnPropertyChanging(string PropertyName) { if(PropertyChanging!=null) { PropertyChanging(this,new PropertyChangingEventArgs(PropertyName)); } }
当属性的类型为List集合时,需要将List更改为ObservableCollection,这样可以在项发生改变时即时修改集合项。
标签:
原文地址:http://www.cnblogs.com/JoanLin-workNotes/p/4518320.html