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.
Top

  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.
Top

(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. (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)
Top

  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)
Top
Show: