Setting a Region

Dec 24, 2010 at 5:33 AM

I see how to set an ActiveItem using Screens, but what if I want more then one screen?  For example, lets say in my shell, I set ContentControls named StatusBarRegion, MenuRegion, and BodyRegion.  When I load Shell, I want to assign ViewModels to each region.  I can name one ActiveItem and that will work fine, but I need three, not one.  How do you do that?

Dec 24, 2010 at 7:46 AM
Edited Dec 24, 2010 at 7:46 AM

You can simply host child VMs in  3 discrete properties of the ShellVM .
Another option, when you need lifecycle management on child VM, is using  Conductor<T>.Collection.AllActive from full Caliburn (see this thread: