IFileDropTargetControl

IFileDropTargetControl interface

Defines a interface for controls that can be target of drag and drop.

public interface IFileDropTargetControl

Properties

Name Description
AllowDrop { get; set; } Gets or sets a value indicating whether the control can accept data that the user drags onto it.
Handle { get; } Contains the window handle (HWND) of the control.

Methods

Name Description
OnDragDrop(DragEventArgs) Raises the DragDrop event.
OnDragEnter(DragEventArgs) Raises the DragEnter event.
OnDragLeave(EventArgs) Raises the DragLeave event.
OnDragOver(DragEventArgs) Raises the DragOver event.

See Also