I'm sure this has been asked before but I can't get a proper answer.
Herewith the scenario:
I have a grid with two Graphs on each row. Clicking on something on Graph1, sends a Message using from Code Behind of Graph1 :
Messenger.Default.Send<MyCustomMessageType>(message);
then, on my ViewModel for Graph 2, I register in the constructor:
Messenger.Default.Register<MyCustomMessageType>(this, (message) => UpdateDataContext(message));
The problem is that the Send, now sends it to ALL Instances of the ViewModel of that Type (Which does make sense).
How do I stop this from happening?