Docking event for the ToolWindow.

Posted 6 years ago by Avatar keshav bansal


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

[Modified 6 years ago]

Comments (1)

Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA

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
Information The latest build of this product (2017.2 build 0665) was released 1 month ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.