WPF drag distance threshold

Posted by justin984 on Stack Overflow See other posts from Stack Overflow or by justin984
Published on 2010-01-14T22:44:53Z Indexed on 2010/03/13 6:05 UTC
Read the original article Hit count: 677

Filed under:
|
|

I have a program with two WPF treeviews that allow dragging and dropping between the two. The problem is, it can be annoying to open / close items on the treeviews because moving the mouse just one pixel while holding the left mouse button triggers the drag / drop functionality. Is there some way to specify how far the mouse should move before it's considered a drag / drop?

Thanks!

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf