Delay when dragging over tab

Docking/MDI for WPF Forum

Posted 12 years ago by Martin Schemmer
Version: 11.2.0553
Avatar

In our application the user needs to drag something from one control over a row of tabs to another control. When quickly dragging over the tabs, one tab is activated immediately. It would be nice to have the tab only activate when the cursor is over it for a certain time.

Is it possible to add such a delay so dragging something quickly over a tab does not activate it immediately?

Comments (1)

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

Hi Martin,

You would have to create custom DocumentWindow and ToolWindow classes that override the OnDragEnter method. In your override, you would have to fire off a timer and only call the base version, which will activate the window, as needed.


Actipro Software Support

The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.