Question

Docking event for the ToolWindow.

Posted 2 years ago by Avatar keshav bansal

Hi,

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

[Modified 2 years ago]


Comments (1)

Posted 2 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 (2014.2 build 0610) was released 2 months ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.