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

New Post: Modular Navigation Question

$
0
0

Cheers for response DC. Can I question this part?

"Then, when you need to go to the MainViewagain, you can simply perform another navigation request to the MainView. Like this, the modules do not need to know each other, as the navigation approach provided byPrism use URIs to identify the views."

My thinking was that I would have a "Done/Close" button in my ModuleAView which indicates to me that the user is finished with this module. If I had a command in my ModuleAViewViewModel which had the _regionManager.RequestNavigate("MainRegion","MainView"); line this implies that my ModuleA can only ever be loaded into an application which actually had a MainView is this right? I thought the idea of modularisation was I could consume my module in any calling app, within reason? Would this be saying "you can consume in any app which has a MainView delared and registered in the regionManager"?

Thanks again.

 


Viewing all articles
Browse latest Browse all 1878

Latest Images

Trending Articles



Latest Images

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