Thursday, March 11, 2010

INotifyPropertyChanged - Pew!

While reading Sams Teach Yourself WPF by Rob Eisenberg I came across the usage of INotifyPropertyChangedto handle data binding. This book is really good so far (reading Chapter/Hour 12 now) but something about the implementation in the book had an unpleasant odor. Further research led me to the following articles which helped me understand this smell I had discovered.

In all fairness, Rob's implementation in the book is perfectly adequate for teaching the subject of WPF. Trying to tackle the topic of INotifyPropertyChanged would certainly have detracted from the main subject of the book and led to further confusion for the typical reader.