Hi, I am trying to provide drag&drop from a grid that mimics windows explorer style. So left click drop would perform the default action (move) and right click drop would show a context menu with a few options to the user (copy, move, create shortcut, etc.). It seems that the SelectionDrag event only catches the left (primary) button drag, is there a way to allow right button drag?
From the documentation: "This event is generated when the user holds the primary mouse button down over a selected object for a short duration before actually moving the mouse pointer." ThanksJavier
Hi Javier,
You can't use SelectionDrag, but you could use the MouseMove event to start your draw, instead.
Thanks for the pointer. I just needed to add a few lines to the MouseDown to track that a right click was initiated and MouseMove to call Grid.DoDragDrop(). Although this would be a nice to have out of the box
cheers