Understanding Drag and Drop
In this chapter, you will learn:
- What a press-drag-release gesture is
- How to use a dragboard to facilitate data transfers
- How to initiate and detect a drag-and-drop gesture
- How to transfer data from the source to the target using a drag-and-drop gesture
- How to transfer images using a drag-and-drop gesture
- How to transfer custom data between the source and the target using a drag-and-drop gesture
What Is a Press-Drag-Release Gesture?
A press-drag-release gesture is a user action of pressing a mouse button, dragging the mouse with the pressed button, and releasing the button. The gesture can be initiated on ...