Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top