What is the basic definition of the Model, View and ViewModel objects in WPF\'s MVVM design pattern? What are their responsibilities, what each of them should and shouldn\'t
Model:
INotifyPropertyChanged
and INotifyCollectionChanged
interfaces. ObservableCollection
class.IDataErrorInfo
or INotifyDataErrorInfo
interfaces.View:
ViewModel:
INotifyPropertyChanged
and INotifyCollectionChanged
interfaces.IDataErrorInfo
or INotifyDataErrorInfo
interfaces.Source: http://code.msdn.microsoft.com/Design-Patterns-MVVM-Model-d4b512f0