This project is read-only.

Problem with closing all DockableContents

Oct 26, 2009 at 12:01 PM


Does someone had problem similar to mine? When I use for example docking manager int this way:

   <AvalonDock:ResizingPanel Name="rpanel">
         <AvalonDock:DockableContent Name="Window1">
         <AvalonDock:DockableContent Name="Window2">

everything is displaying correctly. But when I close all dockableContents (Window1 and Window2) something strange happens - there is unexpected dockableContent without title underneath and after clicking on ints bar it throws Exception:
Object reference not set to an instance of an object.

How can I fix this problem??