Compartir a través de


DropHandlerBase.HandleDragStarted Method

Indicates the start of a drag and drop operation.

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

Syntax

'Declaration
Public Overridable Function HandleDragStarted ( _
    dragDropInfo As DragDropInfo _
) As DragDropPointerEffects
public virtual DragDropPointerEffects HandleDragStarted(
    DragDropInfo dragDropInfo
)
public:
virtual DragDropPointerEffects HandleDragStarted(
    DragDropInfo^ dragDropInfo
)
abstract HandleDragStarted : 
        dragDropInfo:DragDropInfo -> DragDropPointerEffects  
override HandleDragStarted : 
        dragDropInfo:DragDropInfo -> DragDropPointerEffects
public function HandleDragStarted(
    dragDropInfo : DragDropInfo
) : DragDropPointerEffects

Parameters

Return Value

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

Implements

IDropHandler.HandleDragStarted(DragDropInfo)

Remarks

This method is called once a drop operation is in progress and the IDropHandler is the handler for the data format of the drop operation. It is not called for drop operations on the data formats that are not supported by this IDropHandler. A call to HandleDragStarted is always followed by a call to either HandleDragCanceled or HandleDataDropped.

.NET Framework Security

See Also

Reference

DropHandlerBase Class

Microsoft.VisualStudio.Text.Editor.DragDrop Namespace