You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an IDragMode is active, there is currently no further interaction possible despite the mouse related ones. That means, pressing a key while a drag mode is active has no effect.
There are use cases where the drag behavior should change in case a key is pressed. One example could be a copy or move behavior dependent on whether the CTRL key is pressed while dragging or not. This is a behavior you can see for example in the Windows Explorer.
In most of the cases this behavior is not necessary. Therefore a new IDragModeWithKeySupport interface should be introduced, that allows to define the handling of key interactions in the active drag mode. In the DragModeEventHandler the key events should be only handled and forwarded to the drag mode if the drag mode is of type IDragModeWithKeySupport.
The text was updated successfully, but these errors were encountered:
When an
IDragMode
is active, there is currently no further interaction possible despite the mouse related ones. That means, pressing a key while a drag mode is active has no effect.There are use cases where the drag behavior should change in case a key is pressed. One example could be a copy or move behavior dependent on whether the CTRL key is pressed while dragging or not. This is a behavior you can see for example in the Windows Explorer.
In most of the cases this behavior is not necessary. Therefore a new
IDragModeWithKeySupport
interface should be introduced, that allows to define the handling of key interactions in the active drag mode. In theDragModeEventHandler
the key events should be only handled and forwarded to the drag mode if the drag mode is of typeIDragModeWithKeySupport
.The text was updated successfully, but these errors were encountered: