Docking event for the ToolWindow.

Docking/MDI for WPF Forum

Posted 7 years ago by keshav bansal
Version: 11.2.0554
Avatar

Hi,

Can we the get the event of the toolwindow,  while docking the any toolwindow inside the other tool window ?

[Modified 7 years ago]

Comments (1)

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

Hi Keshav,

You can use the DockSite.WindowStateChanged event to watch for changes to a window's state. If you want to know if a ToolWindow is docked in the same ToolWindowContainer as an existing ToolWindow, then you would need to check for that in your WindowStateChanged event handler. You can look at the ToolWindow.ParentContainer and then check it's Items to see if there is already a ToolWindow in there.


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.