Consider the following example. I have three view models, ViewModel_A
, ViewModel_B
, and ViewModel_Values
.
I want to be able to navigate to ViewModel_Values
from either ViewModel_A
or ViewModel_B
, select a value from ViewModel_Values
, then return that value to the calling view model.
Is there a way of passing arguments to previous view models in the navigation stack so that I can simply call ViewModel_Values.Close(this)
, thereby ensuring that the ViewModels_Values
is decoupled from any other view models and can be used with arbitrary "parent" view models?