Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Drag-and-Drop Operations and Clipboard Support

You can enable user drag-and-drop operations within a Windows-based application by handling a series of events, most notably the DragEnter, DragLeave, and DragDrop events.

You can also implement user cut/copy/paste support and user data transfer to the Clipboard within your Windows-based applications by using simple method calls.

Walkthrough: Performing a Drag-and-Drop Operation in Windows Forms

Explains how to start a drag-and-drop operation.

How to: Perform Drag-and-Drop Operations Between Applications

Illustrates how to accomplish drag-and-drop operations across applications.

How to: Add Data to the Clipboard

Describes a way to programmatically insert information on the Clipboard.

How to: Retrieve Data from the Clipboard

Describes how to access the data stored on the Clipboard.

Drag-and-Drop Functionality in Windows Forms

Describes the methods, events, and classes used to implement drag-and-drop behavior.

QueryContinueDrag

Describes the intricacies of the event that asks permission to continue the drag operation.

DoDragDrop

Describes the intricacies of the method that is central to beginning a drag operation.

Clipboard

Community Additions

ADD
Show:
© 2015 Microsoft