IDropHandler.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
Function HandleDragStarted ( _
dragDropInfo As DragDropInfo _
) As DragDropPointerEffects
DragDropPointerEffects HandleDragStarted(
DragDropInfo dragDropInfo
)
DragDropPointerEffects HandleDragStarted(
DragDropInfo^ dragDropInfo
)
abstract HandleDragStarted :
dragDropInfo:DragDropInfo -> DragDropPointerEffects
function HandleDragStarted(
dragDropInfo : DragDropInfo
) : DragDropPointerEffects
Parameters
dragDropInfo
Type: Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropInfoInformation about the drag and drop operation in progress.
Return Value
Type: Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropPointerEffects
A DragDropPointerEffects object 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 when 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 dropping 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
- 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.