O'Reilly logo

Building Enterprise Applications with Windows® Presentation Foundation and the Model View ViewModel Pattern by Raffaele Garofalo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. The UI Layer with MVVM

After completing this chapter, you will be able to:

  • Identify the parts that compose the MVVM pattern.

  • Apply the command pattern and the WeakEvent manager.

  • Provide additional services and facilities for MVVM.

In this chapter, you will finally delve into the Model View ViewModel (MVVM) pattern, and see how it should be implemented to maintain total separation between the XAML-based UI declarative syntax and the UI presentation logic code.

As I mentioned in Chapter 1, Microsoft introduced the MVVM pattern a few years ago, and it’s still a hot topic of discussion in many user groups and forums. This chapter includes more than just my personal point of view about how you should implement MVVM to fulfill the basic rules ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required