When I load the DockSite from a memorystream, there are some FloatingDockHosts that I want to remove (they should not be there from older designs).
DockSite.FloatingDockHosts gives me the list of items I want to remove (where the Title is empty), but I cannot for the life of me figure out how to close those things.
How can I close items that are in the DockHost.FloatingDockHosts (they are a list of DockHosts, TabbedMDIHosts) ?
foreach(var fdh in _DockSite.FloatingDockHosts.Where(x => x.Title == ""))
{
// how to close this floating dock host?
}
Thanks,
Brian
[Modified 8 years ago]