Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: Prism: One View with multiple View Models

$
0
0

Hi aadami, thanks in advance, your answer exactly to the point, only one point remaining: if i put Radio button or Combo box in the Shell  window (which is laying in another project ) and upon the user selection in this control the required view model will be determined and consequently the view will be loaded to the region

i think the code to handle user selection will be exist in ShellWindow View Model then it will publish the selected option via EventAggregator for which the interested modules will subscribe and load the view to the region. is this approach right or wrong or there is better approach.


Viewing all articles
Browse latest Browse all 1878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>