Abstract
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.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Andrew Troelsen and Philip Japikse
About this chapter
Cite this chapter
Troelsen, A., Japikse, P. (2017). WPF Notifications, Validations, Commands, and MVVM. In: Pro C# 7. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3018-3_28
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3018-3_28
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3017-6
Online ISBN: 978-1-4842-3018-3
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)