Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>In order to load each <strong>Shell</strong> on a separate window, you could checkout the following post that shows a sample in <strong><em>Prism-v2</em></strong> of creating a multi-shell application. However, it would be quite simple to adapt it to <strong>Prism 4</strong>: </p> <ul> <li><a href="http://blogs.southworks.net/dschenkelman/2010/01/26/creating-a-multi-shell-application-in-prism-v2/" rel="nofollow">Creating a multi-shell application in Prism-v2</a></li> </ul> <p>By using one single <strong>Bootstrapper</strong> for every <strong>Module</strong> would make easier in the future to extend communication between them. You may also need to set an update the <strong>RegionManager</strong> on every <strong>Window</strong> to properly register every <strong>Region</strong> of every <strong>Shell</strong> as decribed in the sample. </p> <p>Besides the <strong>RegionManager</strong>, the rest of the services provided by <strong>Prism</strong>, such as the <strong>EventAggregator</strong> or the <strong>ModuleManager</strong>, are independent of the <strong>UI</strong> / <strong>Regions</strong> of the application, so you should be able to use them in all the windows without problems.</p> <p>Nevertheless, if you would load each <strong>Shell</strong> on separate tabs, you could define the <strong>TabRegion</strong> as <strong><em>TabControl</em></strong> on the main <strong>Shell App</strong> and then register and load each of your inner <strong>Shells</strong> on the <strong>TabRegion</strong> like they were simple <strong>Views</strong>. Registering the <strong>Views</strong> on each <strong>Module's</strong> <em><strong>Initialize()</em></strong> method would load every <strong>View</strong> after initialization finishes.</p> <p>For more information about Managing <strong>Modules</strong> and <strong>Regions</strong>, you may find the following <strong>MSDN Prism Guide</strong> chapters useful:</p> <ul> <li><a href="http://msdn.microsoft.com/en-us/library/gg405479%28v=pandp.40%29.aspx" rel="nofollow">4: Modular Application Development</a></li> <li><a href="http://msdn.microsoft.com/en-us/library/ff921098%28v=pandp.40%29.aspx" rel="nofollow">7: Composing the User Interface</a></li> </ul> <p>I hope this helped you,</p> <p>Regards.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload