View-Switching Navigation QuickStart

Topics: Prism v4 - Silverlight 4, Prism v4 - WPF 4
Oct 7, 2010 at 12:57 PM
Edited Oct 7, 2010 at 1:01 PM



If you change the MainContentRegion from ContentControl to sdk:TabControl you can observe intresting behavior.

Tab switching doesn't participate in Prism Region Navigation Workflow.

There is no confirmation popup and "New mail" tab just "disappears" when I click other tab header.


Can you provide example of how to incorporate tab switching into Prism Region Navigation Workflow?


Thank you.

Oct 8, 2010 at 5:33 PM
Edited Oct 8, 2010 at 5:34 PM

It is not possible to change from ItemsControl to TabControl in this quickstart, since it is not designed for supporting this. This is why you experienced this behavior.

If you need guidance on how to perform a navigation request, you could take a look at the following classes:

  • EmailNavigationItemView
  • ContactsDetailNavigationItemView
  • CalendarNavigationItemView

For more information you could check the following documentation section in the Prism4.chm:

  • Chapter 7: Navigation

Additionally, you could also check the following posts Karl Shifflett’s blog:

On the other hand, if you consider that this scenario is really helpful, you could create a work-item for this. So the product team will be notified and the community can also vote this.

Fernando Antivero