Skip to main content

DXDragEventArgs Members

Represents a base class for drag-and-drop event arguments.

Constructors

Name Description
DXDragEventArgs() Initializes a new DXDragEventArgs class instance with the default settings. For internal use.

Fields

Name Description
Empty static Provides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

Name Description
Action Gets or sets the drag-and-drop action (Copy, Move, etc.) to perform.
Cursor Gets or sets the mouse pointer.
Data Gets or sets the data elements being dragged.
Handled Gets or sets whether the event was handled and allows you to suppress the default action. Inherited from DXDefaultEventArgs.
KeyState Gets the pressed mouse buttons (left, middle, right) and modifier keys (Shift, Ctrl, Alt).
Location Gets the mouse cursor’s position.
Source Gets the source control.
Target Gets the target control.

Methods

Name Description
Default() Invokes the default action the attached control performs on the current drag-and-drop operation stage. Inherited from DXDefaultEventArgs.
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 data elements being dragged.
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