DropHandlerBase.HandleDraggingOver(DragDropInfo) Method

Definition

Indicates that the drag and drop operation is in progress.

public:
 virtual Microsoft::VisualStudio::Text::Editor::DragDrop::DragDropPointerEffects HandleDraggingOver(Microsoft::VisualStudio::Text::Editor::DragDrop::DragDropInfo ^ dragDropInfo);
 virtual Microsoft::VisualStudio::Text::Editor::DragDrop::DragDropPointerEffects HandleDraggingOver(Microsoft::VisualStudio::Text::Editor::DragDrop::DragDropInfo const & dragDropInfo);
public virtual 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
override this.HandleDraggingOver : Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropInfo -> Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropPointerEffects
Public Overridable 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.

Implements

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