Can I drag and dock a ToolWindow after setting ToolWindowsHaveTitleBars="False"

Docking/MDI for WPF Forum

Posted 11 years ago by yww
Version: 13.1.0582

As title, the reason I set  ToolWindowsHaveTitleBars="False" is because my control already has a title bar which contains many complex controls. 

And I want to keep the existing title bar part of the the exisitng control, instead of putting it to the title bar of ToolWindow, because I may also want to put my control somewhere without the docking site. So I want to keep the integrity of my control.

After setting the ToolWindowsHaveTitleBars to false, I found these ToolWindow no longer draggable. So Is that a way to (like implementing certain interface) enable the ToolWindow can be dragged by holding mouse in some appointed area?

Comments (2)

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

Hello, as long as you are sure the left mouse button is down, DocumentWindow, ToolWindow, and the various containers all have DragMove() methods you can call to programmatically start a drag.

Actipro Software Support

Posted 11 years ago by yww


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.