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
'Déclaration
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
- dragDropInfo
Type: Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropInfo
Information about the drag and drop operation in progress.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.