This project is read-only.

DockingManager.DockableContents property

Sep 15, 2009 at 3:35 PM

I noticed another small issue. The DockingManager.DockableContents property returns each DockableContent twice

The DockableContents property has the following lines



foreach (FloatingWindow flWindow in _floatingWindows)
    foreach (ManagedContent c in flWindow.HostedPane.Items)
        if (c is T)
            resList.Add(c as T);

and the call to FindContents<DockableContent>() has the following:


List <DockableContent> contents = FindContents<DockableContent>();

foreach(FloatingWindow flWindow in _floatingWindows)
   foreach (DockableContent content in flWindow.HostedPane.Items)



May be the foreeach to loop thru the floatingwindows in DockableContents property is not required.



Sep 22, 2009 at 11:10 AM

Hi, Thanks for the bug report, it has been fixed and it will published with next SSVN build,