Hey, I was wondering if there was a way of calling a method or updating a property on my ViewModel object when WPF binds to the object ?
The reason I want to do this is that when my viewModel objects get created their data model only contains an ID that is used to query data from the database when necessary. So when the user navigates to that object I want the view to notify the ViewModel object that its being watched and as a result tell the data model to update its values from the DB and put my ViewModel object into a loading state
If the ViewModel objects knew to update them selves when they were displayed on screen I could avoid having to manually refresh all the objects.
Thanks!