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
'宣言
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
- 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
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
- 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.