Can't seem to catch dragging events on auto-hide toolwindow

Docking/MDI for WPF Forum

Posted 15 years ago by Jeremy Noonan
Version: 4.5.0483
Avatar
I have a simple setup and want the toolwindow to activate when I drag something over it, that something not being another toolwindow. I thought I would just catch the DragOver or DragEnter events, but they never seem to fire. Any ideas?


Simple example:

<docking:DockSite x:Name="DockSite" 
                          AutoHidePopupOpensOnMouseHover="True"
                          Background="Transparent" 
                          CanToolWindowsClose="False" 
                          ToolWindowsHaveOptions="False" 
                          AutoHidePopupCloseAnimationDuration="0:0:0.2">
        <docking:DockSite.AutoHideRightContainers>
            <docking:ToolWindowContainer>>
                <docking:ToolWindow Title="Drag over me to open">
                    <TextBlock Text="Hello there"/>
                </docking:ToolWindow>
            </docking:ToolWindowContainer>
        </docking:DockSite.AutoHideRightContainers>
</docking:DockSite>
Jeremy Noonan
IMA Technologies

Comments (5)

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

Thanks for letting us know about it. We've corrected this for the next maintenance release.


Actipro Software Support

Posted 15 years ago by Marc Petralito
Avatar
I have the same problem.
Has this been solved in the latest release?

Thanx Marc
Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Yes it should be fixed in 484.


Actipro Software Support

Posted 14 years ago by Andreas Boerzel - Software Architect, REALTECH Software Products GmbH
Avatar
I tried the same using actipro 507 but the problem is still existing!

The DragEnter and DragOver events won't be fired on a ToolWindow.

Andreas
Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Andreas,

In the UI, the tool window is represented by the tab portion. So if you are dragging over the main content of a tool window, you'd want to attach your events to the root content element in the tool window.


Actipro Software Support

The latest build of this product (v24.1.1) 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.