Compartilhar via


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)

Syntax

'Declaração
Public Interface IDropHandler
public interface IDropHandler
public interface class IDropHandler
type IDropHandler =  interface end
public interface IDropHandler

The IDropHandler type exposes the following members.

Methods

  Name Description
Public method HandleDataDropped Indicates that the drag and drop operation has completed, and that the final tasks, if any, should be performed now.
Public method HandleDragCanceled Indicates that a drag and drop operation has been canceled.
Public method HandleDraggingOver Indicates that the drag and drop operation is in progress.
Public method HandleDragStarted Indicates the start of a drag and drop operation.
Public method IsDropEnabled Determines whether the handler can accept data for a drag and drop operation.

Top

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.Text.Editor.DragDrop Namespace