Freigeben über


IDropHandler.HandleDraggingOver Method

Indicates that the drag and drop operation is in progress.

Namespace:  Microsoft.VisualStudio.Text.Editor.DragDrop
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
Function HandleDraggingOver ( _
    dragDropInfo As DragDropInfo _
) As DragDropPointerEffects
DragDropPointerEffects HandleDraggingOver(
    DragDropInfo dragDropInfo
)
DragDropPointerEffects HandleDraggingOver(
    DragDropInfo^ dragDropInfo
)
abstract HandleDraggingOver : 
        dragDropInfo:DragDropInfo -> DragDropPointerEffects 
function HandleDraggingOver(
    dragDropInfo : DragDropInfo
) : DragDropPointerEffects

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropPointerEffects
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.

.NET Framework Security

See Also

Reference

IDropHandler Interface

Microsoft.VisualStudio.Text.Editor.DragDrop Namespace