This documentation is archived and is not being maintained.

DragEventArgs Properties

The properties of the DragEventArgs class are listed here. For a complete list of DragEventArgs class members, see the DragEventArgs Members topic.

Public Properties

public propertyAllowedEffect Gets which drag-and-drop operations are allowed by the originator (or source) of the drag event.
public propertyData Gets the IDataObject that contains the data associated with this event.
public propertyEffect Gets or sets the target drop effect in a drag-and-drop operation.
public propertyKeyState Gets the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.
public propertyX Gets the x-coordinate of the mouse pointer, in screen coordinates.
public propertyY Gets the y-coordinate of the mouse pointer, in screen coordinates.

See Also

DragEventArgs Class | System.Windows.Forms Namespace