Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDropHandler Interface

Handles drag and drop operations for different data formats.

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

public interface IDropHandler

The IDropHandler type exposes the following members.

  NameDescription
Public methodHandleDataDroppedIndicates that the drag and drop operation has completed, and that the final tasks, if any, should be performed now.
Public methodHandleDragCanceledIndicates that a drag and drop operation has been canceled.
Public methodHandleDraggingOverIndicates that the drag and drop operation is in progress.
Public methodHandleDragStartedIndicates the start of a drag and drop operation.
Public methodIsDropEnabledDetermines whether the handler can accept data for a drag and drop operation.
Top

Any object that implements this interface can act as a drop handler. Drop handlers are created by using an IDropHandlerProvider. For more information about data formats and their association with IDropHandler objects, please see IDropHandlerProvider.

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