Bagikan melalui


DropHandlerBase.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
Public Overridable Function HandleDraggingOver ( _
    dragDropInfo As DragDropInfo _
) As DragDropPointerEffects
public virtual DragDropPointerEffects HandleDraggingOver(
    DragDropInfo dragDropInfo
)
public:
virtual DragDropPointerEffects HandleDraggingOver(
    DragDropInfo^ dragDropInfo
)
abstract HandleDraggingOver : 
        dragDropInfo:DragDropInfo -> DragDropPointerEffects  
override HandleDraggingOver : 
        dragDropInfo:DragDropInfo -> DragDropPointerEffects
public function HandleDraggingOver(
    dragDropInfo : DragDropInfo
) : DragDropPointerEffects

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropPointerEffects
The DragDropPointerEffects.

Implements

IDropHandler.HandleDraggingOver(DragDropInfo)

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

DropHandlerBase Class

Microsoft.VisualStudio.Text.Editor.DragDrop Namespace