MVVM- View Model-View Model Communications
Posted
by user275561
on Stack Overflow
See other posts from Stack Overflow
or by user275561
Published on 2010-03-19T03:17:06Z
Indexed on
2010/03/19
3:21 UTC
Read the original article
Hit count: 293
How do I go about having two view models communicate with one another using MVVM Light. I know how to use the messenger class and register etc.. Here is my Scenario
A Settings View ---> a Settings View Model
.
.
.
A MainPage View ---> A MainPage ViewModel
If something changes in the Settings View it will Message back to the Settings View Model. So then I want the Settings View Model to communicate to the MainPage View Model about what changed. THe MainPage ViewModel will then tell the View.
© Stack Overflow or respective owner