I have a wpf application with some Thumb controls which move items around a canvs. I want to detect when these thumbs are dragged over another element. However, the drag enter on the element which is dragged over is not fired. I know this code works as drag items that are not thumbs fire the event.
Is the drag event on the thumb not a drag event that other components listen to?
Any idea how to get this to work?
To achieve the simulation of a drag enter event when a thumb object is moved over another component I’ve had to do this:
Register event handler for the thumb drag delta
Then in the event handler see if the dragged element is over the element that is listening to the moving component
Remember to removed event handlers etc later.
Hope this helps someone in the future.