View in a Window

Topics: Prism v2 - WPF 3.5
Jul 1, 2009 at 9:36 PM
Edited Jul 1, 2009 at 9:37 PM

HI !

I am quite new to CAL and I need some guidance / Help

1. How can I load a View in a seperate Window.

2. I have to load a view ina Window which is already initialized and shown in a region inside Shell.

Currently I am creating a instance of the View (UserControl) and I am creating a Window and adding the view to the window which is not a best practice.  Someone can guide me in this issue !

Thanks !


Jul 2, 2009 at 7:55 AM

take a look at compositeWPFContrib project

It has 2 solutions to your problem:

  • WindowRegionAdapter. It provides a way to show views in separate windows.
  • DialogWorkspace Show any view as a dialog in your application.
Jul 2, 2009 at 5:57 PM

Hi Kumar,


Though I don't know your exact scenario, there are some discussion that address similar issues:

·         Regions inside popup region

·         Popup Region 

·         Multiple instances of a window (view)   


Hope it helps!


Matias Bonaventura