Skip to main content

DragDropGridEventArgs Members

Contains data for the DragDrop event.

Properties

Name Description
Action Gets or sets an action that should be executed on the dragged data elements (Copy, Move, and so on). Inherited from DragGridEventArgs.
Cursor Gets or sets the mouse pointer. Inherited from DragGridEventArgs.
Data Gets or sets the dragged data elements. Inherited from DragGridEventArgs.
DataRows Gets the array of data rows that correspond to the dragged grid rows. Inherited from DragGridEventArgs.
Handled Gets or sets whether the event is handled and allows you to suppress the default action. Inherited from DragGridEventArgs.
HitInfo Gets hit information about the visual element under the mouse pointer. Inherited from DragGridEventArgs.
HitLocation Gets the mouse pointer location relative to the control’s upper-left corner (client coordinates). Inherited from DragGridEventArgs.
InsertType Gets or sets whether dragged data elements are inserted before or after a data element under the mouse pointer. Inherited from DragOverGridEventArgsBase.
KeyState Gets the pressed mouse buttons and keyboard modifiers. Inherited from DragGridEventArgs.
Location Gets the mouse pointer location relative to the screen’s upper-left corner (screen coordinates). Inherited from DragGridEventArgs.
Source Gets the source of the drag-and-drop operation. Inherited from DragGridEventArgs.
Tag Gets or sets custom data associated with the drag-and-drop operation. Inherited from DragOverGridEventArgsBase.
Target Gets the target of the drag-and-drop operation. Inherited from DragGridEventArgs.

Methods

Name Description
Default() Initializes event arguments and invokes the default action on the current stage of a drag-and-drop operation. Inherited from DragGridEventArgs.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetData<T>() Returns the dragged data elements. Inherited from DragGridEventArgs.
GetDataRows<T>() Returns the array of data rows that correspond to the dragged grid rows. Casts the returned elements to the specified data type. Inherited from DragGridEventArgs.
GetDragDropGridEventArgs(DragDropEventArgs) static Calculates grid-specific event arguments.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also