Condividi tramite


IDropHandler.HandleDraggingOver(DragDropInfo) Method

Definition

Indicates that the drag and drop operation is in progress.

public:
 Microsoft::VisualStudio::Text::Editor::DragDrop::DragDropPointerEffects HandleDraggingOver(Microsoft::VisualStudio::Text::Editor::DragDrop::DragDropInfo ^ dragDropInfo);
Microsoft::VisualStudio::Text::Editor::DragDrop::DragDropPointerEffects HandleDraggingOver(Microsoft::VisualStudio::Text::Editor::DragDrop::DragDropInfo const & dragDropInfo);
public Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropPointerEffects HandleDraggingOver (Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropInfo dragDropInfo);
abstract member HandleDraggingOver : Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropInfo -> Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropPointerEffects
Public Function HandleDraggingOver (dragDropInfo As DragDropInfo) As DragDropPointerEffects

Parameters

dragDropInfo
DragDropInfo

Information about the drag and drop operation in progress.

Returns

A DragDropPointerEffects for the current operation. For example, this can be used to indicate a copy operation when the CTRL key is down.

Remarks

This method is called continuously while the user is dragging the mouse over the text editor during a drag and drop operation. It can be used to draw additional information next to the mouse cursor as a preview of the text after the drop operation.

Applies to