DataTransfer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The DataTransfer object is used to hold the data that is being dragged during a drag and drop operation. It may hold one or more DataTransferItem, each of one or more data types. For more information about drag and drop, see HTML Drag and Drop API.
public ref class DataTransfer
public class DataTransfer
type DataTransfer = class
Public Class DataTransfer
- Inheritance
-
DataTransfer
Constructors
DataTransfer() |
Properties
DropEffect |
Gets the type of drag-and-drop operation currently selected or sets the operation to a new type. The value must be none, copy, link or move. |
EffectAllowed |
Provides all of the types of operations that are possible. Must be one of none, copy, copyLink, copyMove, link, linkMove, move, all or uninitialized. |
Files |
Contains a list of all the local files available on the data transfer. If the drag operation doesn't involve dragging files, this property is an empty list. |
Items |
Gives a DataTransferItem array which is a list of all of the drag data. |
Types |
An array of String giving the formats that were set in the dragstart event. |