DocumentWindow

Docking/MDI for WPF Forum

Posted 14 years ago by Arthur Damen
Version: 9.1.0507
Avatar
When I change from documentwindow 1 to documentwindow 2 in a tabbedmdicontainer,

the content of the old one(that was active) gets a unload event.
In my case I have a usercontrol as content in the documentwindow.

Is it possible to keep the usercontrol loaded????

Comments (1)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Arthur,

That probably isn't possible because the content of the document windows gets swapped in and out of a content presenter based on which one is selected. So it is that presenter that is raising the loaded/unloaded events.

You would be better off using something like the DockSite.WindowClosed event instead, which tells you when a window has been removed from the layout.


Actipro Software Support

The latest build of this product (v24.1.1) 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.