Pro C# 7 pp 1137-1176 | Cite as

WPF Notifications, Validations, Commands, and MVVM

  • Andrew Troelsen
  • Philip Japikse


This chapter will conclude your investigation of the WPF programming model by covering the capabilities that support the Model-View-ViewModel (MVVM) pattern. The first section covers observable models and observable collections. When classes and collections implement INotifyPropertyChanged and INotifyCollectionChanged (respectively), the binding manager keeps the values in the UI in sync with the bound data. Having the data in the UI accurately portray the current state of the data automatically improves the user experience significantly and reduces the manual coding required in older technologies (such as WinForms) to achieve the same result.

Copyright information

© Andrew Troelsen and Philip Japikse 2017

Authors and Affiliations

  • Andrew Troelsen
    • 1
  • Philip Japikse
    • 2
  1. 1.MinneapolisUSA
  2. 2.West ChesterUSA

Personalised recommendations