How to send command to MVVM model using Prism RRS feed

  • Question

  • Dear all,

    I have an application which has a tool bar in main windows which contains 4 buttons.
    The application is build on different views and viewmodels and implement Prism Mvvm.

    My concern from the tool bar button is to catch the command into a particular ViewModels.

    How can build the viewModel which is listen to any command received from the toll bar viewmodel ?

    I get a bit confused in which way to go . From the picture below I have represented a main tool bar from which each viewModel should listen to their respective button command thy are interested in

    IN which way should I build my viemmodel from command subscription uaing Prism, knowinf that the Toolbar data context and other viewmodel data context are different .

    Thanks for help and advise. sample will be appreciated

    Thursday, January 4, 2018 1:58 PM