DragDropManager.DragEnter Event
In This Article
Occurs when a data element is dragged into the control’s bounds.
Namespace: DevExpress.Utils.DragDrop
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
#Event Data
The DragEnter event's data class is DragEnterEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Action |
Gets or sets the drag-and-drop action (Copy, Move, etc.) to perform.
Inherited from DXDrag |
Allow |
Gets or sets whether it is allowed to drop data elements to the target control. |
Cursor |
Gets or sets the mouse pointer.
Inherited from DXDrag |
Data |
Gets or sets the data elements being dragged.
Inherited from DXDrag |
Handled |
Gets or sets whether the event was handled and allows you to suppress the default action.
Inherited from DXDefault |
Key |
Gets the pressed mouse buttons (left, middle, right) and modifier keys (Shift, Ctrl, Alt).
Inherited from DXDrag |
Location |
Gets the mouse cursor’s position.
Inherited from DXDrag |
Source |
Gets the source control.
Inherited from DXDrag |
Target |
Gets the target control.
Inherited from DXDrag |
The event data class exposes the following methods:
Method | Description |
---|---|
Default() |
Invokes the default action the attached control performs on the current drag-and-drop operation stage.
Inherited from DXDefault |
Get |
Returns the data elements being dragged.
Inherited from DXDrag |
See Also