Tag: system.reactive inotifypropertychanged

使用System.Reactive观察ObservableCollection中的项目的PropertyChanged

我有: public class Vm { private ObservableCollection _things; public ObservableCollection Things { get { return _things ?? (_things = new ObservableCollection()); } } } 和 public class Thing :INotifyPropertyChanged { private string _value; public string Value { get { return _value; } set { if (value == _value) return; _value = value; OnPropertyChanged(); } } […]