SlideServe
Menu
Preferences
© SlideServe · v2026

Enhancing Data Binding in MVVM with INotifyPropertyChanged

zahur avatar
12 slides · 336 Views · 140 likes · Aug 01, 2014

Explore the essentials of data binding in MVVM architecture while leveraging the INotifyPropertyChanged interface. This guide delves into best practices for creating responsive user interfaces with real-time updates, focusing on stateful and stateless view models. Learn how to implement effective two-way bindings, manage property change notifications for complex data models, and understand key patterns to ensure seamless integration of your models and views. Enhance your applications today with pragmatic examples and insights.

Enhancing Data Binding in MVVM with INotifyPropertyChanged - slide 1
01 / 12Enhancing Data Binding in MVVM with INotifyPropertyChanged
1 / 17

Download Presentation

Enhancing Data Binding in MVVM with INotifyPropertyChanged
An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

More Related Content

Presentation Transcript
  1. Data Binding Without INotifyPropertyChanged Image Credit:

  2. Slides and Code • updatecontrols.net/doc/inpc

  3. Michael L Perry • qedcode.com • @MichaelLPerry • Update Controls • Correspondence • Client App Dev

  4. Dan Bricklin and Bob Frankston

  5. y=1/(1+x2)

  6. Stateful View Models PersonListViewModel PersonSummary FullName PersonViewModel FirstName LastName FullName Person Selected Name Changed Person Selected Name Changed

  7. Stateless View Models PersonListViewModel PersonSummary PersonViewModel PersonList Person FirstName LastName Navigation SeletedPerson

  8. Two Way Connection Dependent * Independent *

  9. Updating Person View Person ViewModel Person (Model) FullName TextBlock get _firstName _lastName Dependent Independent Independent “FullName”

  10. Modifying Person View Person ViewModel Person (Model) TextBlock get _firstName FirstName _lastName TextBox set Dependent Independent Independent “FullName”

  11. MVVM Idioms • Dependent Properties • Dual • Tuple • Navigation • Equals/GetHashCode • Command Binding

  12. Michael L Perry • @MichaelLPerry • mperry@mallardsoft.com • updatecontrols.codeplex.com • updatecontrols.net/doc/inpc