未注意到它中的项何时更改(即使使用INotifyPropertyChanged)
public class CollectionViewModel : ViewModelBase { public ObservableCollection<EntityViewModel> ContentList { get { return _contentList; } set { _contentList = value; RaisePropertyChanged("ContentList"); //I want to be notified here when something changes..? //debugger doesn't stop here when IsRowChecked is toggled } }}public class EntityViewModel : ViewModelBase{ private bool _isRowChecked; public bool IsRowChecked { get { return _isRowChecked; } set { _isRowChecked = value; RaisePropertyChanged("IsRowChecked"); } }}
ViewModelBase
RaisePropertyChanged
繁星点点滴滴
慕田峪4524236
相关分类