Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
Detect if the ToolWindow gets closed or just re-docked
posted

Hello,

I'd like to handle the floating ToolWindow's closing event the same way as the tabbed ContentPane (the tabbed ContentPanes have a close button which is bound to a ICommand reference)

To achieve this, I hook to the

XamDockManager.ToolWindowLoaded

event where I hook to the 

ToolWindow.Closing

event.

So my question is: Is there a solution to detect if the ToolWindow gets closed due to closing via button or due to docking back into the XamDockManager.

Or is there maybe another solution to achieve the handling of closing the tabs?

Thanks in advance

Christian

Parents Reply Children