Partager via


IDropHandler Interface

Definition

Handles drag and drop operations for different data formats.

public interface class IDropHandler
public interface class IDropHandler
__interface IDropHandler
public interface IDropHandler
type IDropHandler = interface
Public Interface IDropHandler
Derived

Remarks

Any object that implements this interface can act as a drop handler. Drop handlers are created via IDropHandlerProvider. To learn more about data formats and their association with IDropHandlers, please see IDropHandlerProvider.

Methods

HandleDataDropped(DragDropInfo)

Indicates that the drag and drop operation has completed, and that the final tasks, if any, should be performed now.

HandleDragCanceled()

Indicates that a drag and drop operation has been canceled.

HandleDraggingOver(DragDropInfo)

Indicates that the drag and drop operation is in progress.

HandleDragStarted(DragDropInfo)

Indicates the start of a drag and drop operation.

IsDropEnabled(DragDropInfo)

Determines whether the handler can accept data for a drag and drop operation.

Applies to