Closing Event for the ToolWindow or the DockingWindow.

Docking/MDI for WPF Forum

Posted 7 years ago by keshav bansal
Version: 11.2.0554
Avatar

Hi,

How to get the Closing Event for the ToolWindow.

For Example My sample application consists of two toolwindows and these toolwindows are registered in the region using PrismIntegration 

and as i close the any of the toolwindows ,I want to get the closing event for that tooliwndow so that i can unregister that toolwindow with corresponding region.

Means If i close the toolwindow from the region then toolwindow will be removed or closed from the region but registeration for that toolwindow with the region will remain.So on closing event of the toolwindow i have to unregister that toolwindow with corresponding region.Because if i want to repopulate that closed toolwindow in the same region then that toolwindow can be registered or added in that region.

Comments (1)

Answer - Posted 7 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Keshav,

You can use the DockSite.WindowClosing event.


Actipro Software Support

The latest build of this product (v2019.1 build 0681) 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.