Provides data for the System.WinForms.RichControl.DragDrop, System.WinForms.RichControl.DragEnter, or System.WinForms.RichControl.DragOver event.
Object
EventArgs
DragEventArgs
[Visual Basic] Public Class DragEventArgs Inherits EventArgs [C#] public class DragEventArgs : EventArgs [C++] public __gc class DragEventArgs : public EventArgs [JScript] public class DragEventArgs extends EventArgs
The System.WinForms.RichControl.DragDrop event occurs when the user completes a drag-and-drop operation by dragging an object over the control and then dropping it onto the control by releasing the mouse button. The System.WinForms.RichControl.DragEnter event occurs when the user moves the mouse pointer onto the control while dragging an object with the mouse. The System.WinForms.DragEventArgs.DragOver event occurs when the user moves the mouse pointer over the control while dragging an object with the mouse.
A DragEventArgs object specifies any data associated with this event, the current state of the SHIFT, CTRL, and ALT keys, the location of the mouse pointer, and the drag-and-drop effects allowed by the source and target of the drag event.
For information about the event model, see TBD.
Namespace: System.WinForms
Assembly: System.WinForms.dll
DragEventArgs Members | System.WinForms Namespace | DragDropEffects | OnDragDrop | System.WinForms.RichControl.DragDrop | OnDragEnter | System.WinForms.RichControl.DragEnter | OnDragOver | System.WinForms.RichControl.DragOver