System.Windows.Forms.ListView.ItemDrag Event

Occurs when the user begins dragging an item.

Syntax

public event ItemDragEventHandler ItemDrag

Remarks

The ListView.ItemDrag event occurs when the user begins dragging an item. Typically the event handler for the ListView.ItemDrag event performs the task of dragging by calling the Control.DoDragDrop(object, DragDropEffects) method. You can use this event to perform the tasks necessary to drag items into and out of your application's System.Windows.Forms.ListView control.

For more information about handling events, see Consuming Events.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0