Cannot find Region in RegionManager (using PRISM)?

Sorted now. I needed to register the region manager in the constructor of my presenter class That way the regions in my new window could find my global region manager.

Sorted now. I needed to register the region manager in the constructor of my presenter class. That way the regions in my new window could find my global region manager.RegionManager.

SetRegionManager(view as DependencyObject, regionManager).

1 You can also set the RegionManager on the window instead of the view. See my answer here: stackoverflow. Com/questions/1014948/… – Cameron MacFarland Jan 30 '10 at 11:46 @Cameron I've now got the problem that when I show the dialog a second time it gives me an UpdateRegionsException.

Any clues? – Jon Mitchell Feb 1 '10 at 10:18 1 When you close the window, you need to unset the RegionManager. – Cameron MacFarland Feb 1 '10 at 11:26 Any clues on how to do that?

Can't see any methods that look like they'll do the job. – Jon Mitchell Feb 1 '10 at 11:43 2 Use the same method as above, just pass null as the value. RegionManager.

SetRegionManager(view as DependencyObject, null); – Cameron MacFarland Feb 1 '10 at 23:05.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions