I have AddEditViewModel
and AddEditView
associated with it. I want to start dialog window from ViewModel2
using IWindowManager
object. The code from ViewModel2
class:
windowManager.ShowDialog(new AddEditViewModel(_windowManager,_events),
this.SelectedCar, settings);
but I don't know how to recover the object this.SelectedCar
in the AddEditViewModel
? Is it possible ?