Hello,
I use LoadXML() and then try to find a specific panel through the ID. If the layout contains hidden (unpinned) DockPanels, I don't find them with the following sample code.
foreach (IDockingSite site in this.mDockingManager.DockingSites)
foreach (IDockable dockable in site.ManagedDockables)
if (dockable.ID.Equals(equipmentID))
return(DockPanel)dockable;
Are hidden panels not stored in the ManagedDockables collection?
Thanks, Roland
I use LoadXML() and then try to find a specific panel through the ID. If the layout contains hidden (unpinned) DockPanels, I don't find them with the following sample code.
foreach (IDockingSite site in this.mDockingManager.DockingSites)
foreach (IDockable dockable in site.ManagedDockables)
if (dockable.ID.Equals(equipmentID))
return(DockPanel)dockable;
Are hidden panels not stored in the ManagedDockables collection?
Thanks, Roland