System.Windows.Forms.ToolStripItem.DragDrop Event

Occurs when the user drags an item and the user releases the mouse button, indicating that the item should be dropped into this item.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ComponentModel.Browsable(false)]
public event DragEventHandler DragDrop

Remarks

The DragEventArgs.X and DragEventArgs.Y properties of the System.Windows.Forms.DragEventArgs are in screen coordinates, not client coordinates. 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: 2.0.0.0
Since: .NET 2.0