DataTransferItem Class
An item of a drag data store (https://html.spec.whatwg.org/multipage/dnd.html#the-datatransferitem-interface).
public sealed class DataTransferItemProperties
| Name | Description |
|---|---|
| Kind | https://html.spec.whatwg.org/multipage/dnd.html#dom-datatransferitem-kind |
| Type | https://html.spec.whatwg.org/multipage/dnd.html#dom-datatransferitem-type |
Kind
DataTransfer.cshttps://html.spec.whatwg.org/multipage/dnd.html#dom-datatransferitem-kind
public string Kind { get; }Property value
See also
Type
DataTransfer.cshttps://html.spec.whatwg.org/multipage/dnd.html#dom-datatransferitem-type
public string Type { get; }Property value
See also
Methods
| Name | Description |
|---|---|
| GetAsFile() | https://html.spec.whatwg.org/multipage/dnd.html#dom-datatransferitem-getasfile |
| GetAsString(FunctionStringCallback?) | https://html.spec.whatwg.org/multipage/dnd.html#dom-datatransferitem-getasstring: the callback is invoked from a task. |
GetAsFile()
DataTransfer.cshttps://html.spec.whatwg.org/multipage/dnd.html#dom-datatransferitem-getasfile
public File? GetAsFile()GetAsString(FunctionStringCallback?)
DataTransfer.cshttps://html.spec.whatwg.org/multipage/dnd.html#dom-datatransferitem-getasstring: the callback is invoked from a task.
public void GetAsString(FunctionStringCallback? callback)