Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
927
Drag/drop interferes with scrollbar
posted

I'm trying to implement a drag/drop functionality. I've declared event handlers for the grid's MouseDown and MouseMove properties. But because the event handlers are subscribed to grid events, even dragging the scrollbar causes the MouseMove event handler to be invoked.

 Is there an event handler I can subscribe to for the data rows themselves? I only want to process the mouse events if the user has clicked on a row in the grid, but not anywhere else on the grid control.