Office.DropEventData interface
Represents the DragAndDropEventArgs.dragAndDropEventData
object when messages or file attachments are dropped into an add-in's task pane.
Remarks
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. |
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
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
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
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"