Reputation: 12832
Does WPF provide a framework for handling documents, similar to how MFC's Document/View?
In my WPF application, I can go and just create File->New/Open/Save elements in the menu and attach them to methods, but I'm wondering if WPF provides anything to manage that in a better way.
Upvotes: 0
Views: 367
Reputation: 564441
The main published guidelines is to use the Model/View/ViewModel pattern.
I'd recommend watching this Channel 9 video on MVVM.
The Patterns and Practices group also published the Composite Application Guideance for WPF and Silverlight, which includes a full library that can be used. It's fairly heavy-weight, though, for many applications.
The latest version of this guidance is the Prism Library.
Upvotes: 1