AreDocumentWindowsDestroyedOnClose

Docking/MDI for WPF Forum

Posted 10 years ago by David Sherwood
Version: 10.1.0522
Platform: .NET 4.0
Environment: Windows 7 (64-bit)
Avatar
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 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
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 10 years ago by David Sherwood
Avatar
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 (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.