Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DragEventArgs Properties

DragEventArgs Properties

The DragEventArgs type exposes the following members.

  Name Description
Public property AllowedEffect Gets which drag-and-drop operations are allowed by the originator (or source) of the drag event.
Public property Data Gets the IDataObject that contains the data associated with this event.
Public property Effect Gets or sets the target drop effect in a drag-and-drop operation.
Public property KeyState Gets the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.
Public property X Gets the x-coordinate of the mouse pointer, in screen coordinates.
Public property Y Gets the y-coordinate of the mouse pointer, in screen coordinates.
© 2015 Microsoft