This documentation is archived and is not being maintained.

DragEventArgs Members

Provides data for the DragDrop, DragEnter, or DragOver event.

The following tables list the members exposed by the DragEventArgs type.

  Name Description
Public method DragEventArgs Initializes a new instance of the DragEventArgs class.

  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.

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)