Hi,
I am able to register the all the usercontrols in the regions as the toolwindow in my main application using PrismIntegra tion. But i am not able to dock the any of he toolwindow in the base docksite. Means my base docksite is not visible for any of the toolwindow. Code used is:
<docking:DockSite Grid.Row="0" x:Name="Main Region" AllowDrop="True" CanDocumentWindowsRaft="True" cal:RegionManager.RegionName="{x:Staticsample:RegionNames.MainRegion}"></docking:DockSite>
<ContentControl Grid.Row="1" Name="MainRegion1" prism:RegionManager.RegionName="MainRegion1"HorizontalAlignment="Stretch"VerticalAlignment="Stretch"></ContentControl >
<docking:DockSite Grid.Row="2" x:Name="MainRegion2" AllowDrop="True" CanDocumentWindowsRaft="True" cal:RegionMa nager.Region Name="MainRegion2">
</docking:DockSite>
Means My above application shows that i am registering the three usercontrols in the three respective regions that are MainRegion,MainRegion1,MainRegion2. From using LinkToDocksite i can link any of the docksite. But i also want to dock any of the toowindow in the base docksite.
If i added the <Docksite></Docksite> as the parent docksite of the all three existing docksites then i am not able to register the usercontrols in the regions the error message is Not found Regions.
Means While Loading the user controls as the toolwindows in the regions in my main application for that my architecture should be look like below.
<docking:DockSite>
<docking:DockSite cal:RegionManager.RegionName="{x:Staticsample:RegionNames.MainRegion}">
</docking:DockSite>
<docking:DockSite cal:RegionManager.RegionName="{x:Staticsample:RegionNames.MainRegion1}">
</docking:DockSite>
<docking:DockSite cal:RegionManager.RegionName="{x:Staticsample:RegionNames.MainRegion2}">
</docking:DockSite>
<docking:DockSite>
My application should load the usercontrols in the above regions.