I'm trying to figure out the best way to bubble up PropertyChanged events from nested Properties in my ModelView. Say I have my ModelView PersonModelView
which has a Property PersonModelView.Address
. Address
in turn has a property City
. When I bind to City
in my view, I would do something like {Binding Address.City}
.
My problem is that even if Address
implements INotifyPropertyChanged
, the binding will not get updated because it is handling PropertyChanged
on the PersonModelView
, not Address
. I think I have two options: (1) change the source of the binding (or change the DataContext
) to the Address
property or (2) have the PersonModelView
handle PropertyChanged
on the Address
object and refire its own PropertyChanged
with something like Address.City
.
How are you guys solving this? (I'm using MVVM light toolkit at the mo, but am interested in any approaches)