Can I create a region under a popup?

Topics: Prism v4 - Silverlight 4
Nov 24, 2010 at 10:46 AM


Can I create a region under a child window of silverlight. I have added a region and i want it to place my view on that, i am unable to get the reference of the chil window region. Please give me an idea.

Nov 24, 2010 at 12:28 PM
Edited Nov 24, 2010 at 12:34 PM

There are examples in the MVVM RI about how to do this.  It's a region behavior that allows you to add stuff to the childwindow and the behavior facilitates the display and closure through the RegionManager.

Another example is in the StockTrader RI, specifically look at the shell and see there is a region called "SecondaryRegion" this is actually the region that is displayed based on the code based being used (e.g. Silverlight, WPF etc).  The code that is facilitating the "popup" is located in the Infrastructure in the behavior folder.

Nov 25, 2010 at 3:49 AM

Thank you, Will get back if I have doubts.