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)

DragDropPointerEffects HandleDragStarted(
	DragDropInfo dragDropInfo
)

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 object for the current operation. For example, this can be used to indicate a copy operation when the CTRL key is down.

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft