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 do?
相关问题
- VNC control for WPF application
- WPF Binding from System.Windows.SystemParameters.P
- XAML: Applying styles to nested controls
- How can I add a horizontal line (“goal line”) for
- How to properly change a resource dictionary
Model:
INotifyPropertyChanged
andINotifyCollectionChanged
interfaces.ObservableCollection<T>
class.IDataErrorInfo
orINotifyDataErrorInfo
interfaces.View:
ViewModel:
INotifyPropertyChanged
andINotifyCollectionChanged
interfaces.IDataErrorInfo
orINotifyDataErrorInfo
interfaces.Source: http://code.msdn.microsoft.com/Design-Patterns-MVVM-Model-d4b512f0