Office.DropEventData interface
Represents the DragAndDropEventArgs.dragAndDropEventData object when messages or file attachments are dropped into an add-in's task pane.
Remarks
[Api set: Mailbox 1.5]
To learn more about the drag-and-drop feature and how to implement it across various Outlook clients, see Drag and drop messages and attachments into the task pane of an Outlook add-in.
Properties
| data |
Gets the messages or file attachments being dragged and dropped into an add-in's task pane. |
| pageX | Gets the x-coordinate of the mouse pointer that represents the horizontal position in pixels. The position is relative to the left edge of the Outlook on the web or the new Outlook on Windows client window. |
| pageY | Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels. The position is relative to the top edge of the Outlook on the web or the new Outlook on Windows client window. |
| task |
Gets the x-coordinate of the mouse pointer that represents the horizontal position in pixels. The position is relative to the left edge of the add-in's task pane. |
| task |
Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels. The position is relative to the top edge of the add-in's task pane. |
| type | Gets the type of drag-and-drop event. The |
Property Details
dataTransfer
Gets the messages or file attachments being dragged and dropped into an add-in's task pane.
dataTransfer: DroppedItems;
Property Value
Remarks
[Api set: Mailbox 1.5]
pageX
Gets the x-coordinate of the mouse pointer that represents the horizontal position in pixels. The position is relative to the left edge of the Outlook on the web or the new Outlook on Windows client window.
pageX: number;
Property Value
number
Remarks
[Api set: Mailbox 1.5]
pageY
Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels. The position is relative to the top edge of the Outlook on the web or the new Outlook on Windows client window.
pageY: number;
Property Value
number
Remarks
[Api set: Mailbox 1.5]
taskPaneX
Gets the x-coordinate of the mouse pointer that represents the horizontal position in pixels. The position is relative to the left edge of the add-in's task pane.
taskPaneX: number;
Property Value
number
Remarks
[Api set: Mailbox 1.5]
taskPaneY
Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels. The position is relative to the top edge of the add-in's task pane.
taskPaneY: number;
Property Value
number
Remarks
[Api set: Mailbox 1.5]
type
Gets the type of drag-and-drop event. The drop event occurs when messages or file attachments are dropped into an add-in's task pane.
type: "drop";
Property Value
"drop"
Remarks
[Api set: Mailbox 1.5]