prism implementation doesn't seem to be working

Jan 18, 2011 at 9:23 AM

Hi,

I've looked at the source code to find the implementation for the DockSite region adapter for prism V4.

The source doesn't compile.

It uses dockSite.ContainerFromItem, which isn't defined.

I'm using the latest dockSite implementation.

Thanks,

Ron Sher

 

Jul 31, 2012 at 10:24 AM
Edited Jul 31, 2012 at 10:26 AM

Hi,
I have been using the actipro docking with prism 4.1. 
At some point I would like to open and re-open(closed) docking windows for example when user asks for a view, so in region i check if a view already exist then I just activate it. And I could not see it as the dock site region behavior. After debuging the code i found out OnRegionActiveViewsCollectionChanged

var dockingWindow = dockSite.ContainerFromItem(item);if (dockingWindow == null) continue;else if (!dockingWindow.IsOpen) {// 1/28/2011 - Added code to check for IDockingWindowInitializer to perform open......
And the problem lies dockSite.ContainerFromItem(item) which does not return the docking window therefore a closed view is never re-opend. Can anyone suggest what can i do?Regards,Moshiur