Closing Event for the ToolWindow or the DockingWindow.

Docking/MDI for WPF Forum

Posted 12 years ago by keshav bansal
Version: 11.2.0554


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 12 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Keshav,

You can use the DockSite.WindowClosing event.

Actipro Software Support

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.