Files
docs-desktop/dotnet-desktop-guide/framework/winforms/advanced/drag-and-drop-operations-and-clipboard-support.md
T
Andy De George c0ba284473 Initial winforms content migrated (#18)
* Merge winforms framework content to working branch (#14)

* Breadcrumb / TOC / Move net5 to net folder (#15)

* change path from net5 to net

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Add .net 5 winforms placeholder article (#16)

* added some metadata and adjusted net5 placeholder

* corrections

* corrections

* corrections

* Test1

* Swapping landing page vs concept

* fix links

* Fix links

* Fix desc
2020-09-01 16:26:21 -07:00

2.1 KiB

title, ms.date, helpviewer_keywords, ms.assetid
title ms.date helpviewer_keywords ms.assetid
Drag-and-Drop Operations and Clipboard Support 03/30/2017
drag and drop [Windows Forms]
drag and drop [Windows Forms], Windows Forms
Clipboard [Windows Forms], Windows Forms
7cce79b6-5835-46fd-b690-73f12ad368b2

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 xref:System.Windows.Forms.Control.DragEnter, xref:System.Windows.Forms.Control.DragLeave, and xref:System.Windows.Forms.Control.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.

In This Section

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.

xref:System.Windows.Forms.Control.QueryContinueDrag
Describes the intricacies of the event that asks permission to continue the drag operation.

xref:System.Windows.Forms.Control.DoDragDrop%2A
Describes the intricacies of the method that is central to beginning a drag operation.

xref:System.Windows.Forms.Clipboard
Also see How to: Send Data to the Active MDI Child.