I'm testing the busyservice posted by Rob, but i wonder why the GetView in this service gives me a null.
private FrameworkElement GetView(object viewModel)
var viewAware = viewModel as IViewAware;
if (viewAware == null)
return viewAware.GetView() as FrameworkElement;
I use it in a viewmodel based on propertychangedbase. I'm fairly new to this so i wondered that i should implement IViewAware, but i don't know what to put in there.
So how the get the view that was binded to the viewmodel?