
Hi,
How to Dynamically load the same usercontrol as the multiple toolwindows in the same docksite.
As i can easily load the usercontrol as the toolwindow in the application using the prism integration with docking.In it i am simple adding the Usercontrolviedwmodel to the docksite that will load the usercontrol as the toolwindow in thatb docksite..
But if Before loading the usercontrol as the toolwindow,i am reading the configuration file and if that configuration file tellls that i have to load the same usercontrol as the toolwindow n times that means n toolwindows should be there in the same docksite.
Suppose i have docksite named Docksite1 and usercontrol named SampleUsercontrol.
i read the configuratiion xml file and that tells the number of usercontrols or the usercontrol collection(collection of the SampleUserControl) will be loaded as the Toolwindows in the single dockiste named Docksite1.