Docking/MDI for WPF Forum

Posted 14 years ago by David Sherwood
Version: 10.1.0522
Platform: .NET 4.0
Environment: Windows 7 (64-bit)
I have set my dock site AreDocumentWindowsDestroyedOnClose=True and yet the Tool windows still show up in the ToolWindows collection when they are closed. I had to add e.Window.Destroy in the close event to get them destroyed.

Comments (2)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Hi David,

The AreDocumentWindowsDestroyedOnClose property only applies to DocumentWindows, not ToolWindows. Typically, ToolWindows are kept around for the life of the application (but may be hidden) and DocumentWindows are opened/closed. This option simply controls whether DocumentWindows should be kept around after they are closed.

Actipro Software Support

Posted 14 years ago by David Sherwood
If I just read the property name, I would have figured it out myself! Sorry about that, but I get vary confused on the different limitations between documents and tool windows.
The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.