Problem with RegionPopupBehaviors

Topics: Prism v2 - WPF 3.5
Jan 8, 2010 at 6:32 PM

Hi, I've used the RegionPopupBehaviors provided with RI samples, but I modified them to allow more than one instance at a time.

But my problem, is that I replace the default Window for a Window of my own, and that window contains two regions. When I close the form, I want to unload the views that are in these regions, but I just can't access them. The RegionManger provided by IoC only find the region of my Shell (which is the region I use for the Popup).

Is there a way to do that?

Thanks in advance,

Diego.

Jan 11, 2010 at 10:32 AM

UPDATE:

Searching through the internet I found out that maybe what I need to do is to be able to access locally scoped regions. But I couldn't find any examples of how to do that either, so I'm still with the problem... :(