DocumentWindow

Docking/MDI for WPF Forum

Posted 10 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 10 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 (v2019.1 build 0684) was released 16 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.