Back to Devexpress

DragGridEventArgs Members

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-draggrideventargs-dot-underscore-members.md

latest4.7 KB
Original Source

DragGridEventArgs Members

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

Properties

NameDescription
ActionGets or sets an action that should be executed on the dragged data elements (Copy, Move, and so on).
CursorGets or sets the mouse pointer.
DataGets or sets the dragged data elements.
DataRowsGets the array of data rows that correspond to the dragged grid rows.
HandledGets or sets whether the event is handled and allows you to suppress the default action.
HitInfoGets hit information about the visual element under the mouse pointer.
HitLocationGets the mouse pointer location relative to the control’s upper-left corner (client coordinates).
KeyStateGets the pressed mouse buttons and keyboard modifiers.
LocationGets the mouse pointer location relative to the screen’s upper-left corner (screen coordinates).
SourceGets the source of the drag-and-drop operation.
TargetGets the target of the drag-and-drop operation.

Methods

NameDescription
Default()Initializes event arguments and invokes the default action on the current stage of a drag-and-drop operation.
Equals(Object, Object) staticDetermines 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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

DragGridEventArgs Class

DevExpress.XtraGrid.Views.Grid Namespace