How to use Shell framework?

Mar 2, 2011 at 11:03 PM

I have a main window view (IShell) that has a content control hosting the view CallJournalViewModel. That in it's order has another content control.  On this second level one child view want's to switch to another view.

I found a cool way to do this (I hope that is't a right solution) in the Game Library example where a Shell framework is used in the following construct:

yield return Show.Child<SearchViewModel>().In<IShell>();

I can't make it work on the second view level (not in the IShell level):

yield return Show.Child<CallViewModel>().In<CallJournalViewModel>();

What condition should be fulfilled to make sure that my Single View conductor can be controlled via these constructs?