DragEvent Class
https://html.spec.whatwg.org/multipage/dnd.html#dragevent
public sealed class DragEvent : MouseEvent- Inheritance
MouseEventDragEvent
Constructors
| Name | Description |
|---|---|
| DragEvent(string, DragEventInit?) | Creates a drag event of the given type with the given initialization dictionary. |
DragEvent(string, DragEventInit?)
UIEvents.csCreates a drag event of the given type with the given initialization dictionary.
public DragEvent(string type, DragEventInit? eventInitDict = null)Properties
| Name | Description |
|---|---|
| DataTransfer | https://html.spec.whatwg.org/multipage/dnd.html#dom-dragevent-datatransfer |
DataTransfer
UIEvents.cshttps://html.spec.whatwg.org/multipage/dnd.html#dom-dragevent-datatransfer
public DataTransfer? DataTransfer { get; }