So I have something like this:
class ViewModel
{
Dependency Property User User;
public bool IsDirty;
override OnPropertyChanged
{
base.OnPropertyChanged();
this.IsDirty = true;
}
}
The problem is that OnPropertyChanged does not trigger unless I reassign the User object. How can I get it to trigger when a property of User changes? For example when I have one User object, but User.FirstName changes. Danke.