I am building my first CWPF application and have run into something that I have to believe is very simple (it just escapes me right now). Here is the situation...
I have a Shell that defines two regions. In one of those regions "MainWorkArea" I am loading a module that contains a view that defines two additional regions in XAML. When I initialize the new module I attempt to add a usercontrol (defined
in the same module) to one of those newly defined regions. An exception is thrown because the RegionManager does not have these new regions in its collection yet. Can somebody point me in the right direction as to how I can get these new regions registered
so I can load my usercontrol.
At what point in the startup process does the XAML get parsed and the regions added to the RegionManager?
Thanks for your help!