Managing WPF and Prism Modules: Listing 1.

Defining regions with ContentControl.

<Window x:Class="CustomerOrdersManagement.CustomerOrders"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:prism="http://www.codeplex.com/prism"
        Title="CustomerOrders" Height="300" Width="300">
  <StackPanel>
    <ContentControl Name="CustList"
      prism:RegionManager.RegionName="CustListRegion" >    
    </ContentControl>
    <ContentControl Name="OrdListRegion"
      prism:RegionManager.RegionName="OrdListRegion" >
    </ContentControl>
  </StackPanel>  
</Window>

About the Author

Peter Vogel is a system architect and principal in PH&V Information Services. PH&V provides full-stack consulting from UX design through object modeling to database design. Peter tweets about his VSM columns with the hashtag #vogelarticles. His blog posts on user experience design can be found at http://blog.learningtree.com/tag/ui/.