A WPF Prism app’s View gets its ViewModel instance with the help of MEF container:
[Import]
public MyModuleViewModel ViewModel
{
set { this.DataContext = value; }
}
How could I get the reference of this VieModel’s instance in the code-behind of the View?
?