identifying which ToolWindow is being dragged

Docking/MDI for WPF Forum

Posted 15 years ago by Mark Benda
Version: 9.1.0505
Avatar
Hello,
I've seen other posts from last year, but haven't seen an update.

When I have ToolWindows attached to a DockSite I can specify event handlers for WindowDragged and WindowDragging, but cannot seem to determine which ToolWindow or ToolWindowContainer is the one being dragged. I thought I'd be able to use WindowActivated to assist, but with the InactiveRaftingWindowFadeDelay set I only seem to get the Deactivate from the previously selected ToolWindow.

Please let me know if you need a code sample for clarification.
Thanks in advance.

Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Mark,

We have this feature ready to go for the next release which will be what you want:
Changed source of WindowDragged and WindowDragging events from the preview window to the actual element being dragged.

So the source could be a ToolWindow or ToolWindowContainer. This will be in build 506, which should be in the next several weeks.


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.