Otis wrote:
I think they can't live side by side as that's what's MSDN docs say indeed. I don't know why either, it might be there is still some code left in the v2 controls which will bind to both if they're present, I've no idea.
Its just too bad you can't AddHandler and then specify a specific eventargs of PropertyChanged to narrow down the event...like (in VB):
AddHandler PropertyChanged("FirstName"), AddressOf(HandleFirstNameChanged")
this would make the INotifyPropertyChanged usage much cleaner from the event-handling side. I know this doesn't make much sense though, because obviously you can't specify an event by passing a string value...maybe if there was some way to do:
AddHandler PropertyChangedManager.GetPropertyChangedEvent(EmployeeEntity, "FirstName"), AddressOf(HandleFirstNameChanged)
where GetPropertyChangedEvent would create an event and raise it when EmployeeEntity.PropertyChanged event fires with "FirstName" eventargs.
I don't know. I just can't find any useful instructions on how to use this INotifyPropertyChanged, outside of databinding, anywhere on the web!