
Hi,
Can we the get the event of the toolwindow, while docking the any toolwindow inside the other tool window ?
[Modified 13 years ago]
Hi,
Can we the get the event of the toolwindow, while docking the any toolwindow inside the other tool window ?
[Modified 13 years ago]
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.
Please log in to a validated account to post comments.