Docking event for the ToolWindow.

Docking/MDI for WPF Forum

Posted 12 years ago by keshav bansal
Version: 11.2.0554


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

[Modified 12 years ago]

Comments (1)

Answer - Posted 12 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

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.