Recycling DockableContent, DocumentContent Problem

Jun 25, 2010 at 2:51 AM
Edited Jun 25, 2010 at 2:52 AM

Thank you for your good docking solution!. It is really greate.

However, I got a problem.

I think this problem is caused by my lack of knowledge.

 

DockingManager seems to reuse DockableContent and DocumentContent.

When I close the dockableContent using "X" mouse click, it is hided but it isn't disposed.

How can I permanently remove the instance of DockableContent from DockingManager?

 

I have used some properties(HideOnClose, IsClosable)  for this, but it dosen't work.

Please help me and give me insight of your great program.

 

Thank you.

 

 

Jun 25, 2010 at 7:17 AM

If you set DockableContent.HideOnClose to false (true by default) contents should be closed (and disposed) and not hidden.

Ado