This project has moved. For the latest updates, please go here.

Best practice for ViewModel interaction

Jan 4, 2011 at 2:46 PM

We're writing a WPF app where a ViewModel (child) needs to let know another ViewModel (parent) to Refresh it's ICollectionView.

In another post ( I read that currently a Message would be a good pratice.

Is that still the case ?
Is there a better way to solve this problem ?
I can't imagine that nobody ever wrote more than 1 ViewModel and didn't run into a problem a like :-).

Thanks in advance,


Jan 5, 2011 at 6:42 AM

I wrote a blog post about this very thing only a few months ago. See if it helps:

Nested ViewModels