I'm developing a WPF application using MVVM + Prism. The Shell is devided into two regions: Menu + MainScreenArea.
The Menu includes navigation: Search Entity, Add Entity, Edit Entity. And Basically the mainScreenArea should load the appropriate module/View. If Search Entity is chosen in the Menu Region, The mainScreenArea should display the SearchEntity Module/View.
I still haven't coded it, but I think I will create A module for each purpose: SearchEntityModule, AddEntityModule and etc.
Then the MainWorkArea will change modules on demand by the corresponding click on Menu Region.
Now, how do I change between the modules in the MainScreenArea Region? Should I load the nameOfModule to eventAggregator from MenuRegion and and MainScreenArea will get the name of screen from the aggregator?
Anyways, I'm new to this, so if I'm going in the wrong direction, please post me your suggestion. Thanks!