When using drag drop in wpf, is there a way to determine if the user is dragging left or dragging right?
I am using the standard drag events in wpf like, OnDragStarted, OnPreviewDragEnter etc…
When using drag drop in wpf, is there a way to determine if the
Share
You can easily calculate this yourself by calculating the difference of
DragEventArgs.GetPosition(), say, each half second.Returns a drop point that is relative to a specified
It returns a
Pointobject, which has X and Y coordinates which you can use to determine the direction.