Skip to main content

DragGridEventArgs Members

Contains data for events that allow you to customize drag-and-drop operations.

Properties

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

Methods

Name Description
Default() Initializes event arguments and invokes the default action on the current stage of a drag-and-drop operation.
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.
GetDataRows<T>() Returns the array of data rows that correspond to the dragged grid rows. Casts the returned elements to the specified data type.
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