windowsforms-devexpress-dot-xtratreelist-dot-treelist-fc7af6a3.md
Fires after a node is dropped.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
[DXCategory("DragDrop")]
public event AfterDropNodeEventHandler AfterDropNode
<DXCategory("DragDrop")>
Public Event AfterDropNode As AfterDropNodeEventHandler
The AfterDropNode event's data class is AfterDropNodeEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| DestinationNode | Gets a parent node that owns the dropped node. |
| IsCopy | Gets whether the user copied or moved a node. |
| IsSuccess | Gets whether a node was copied or moved to another node (position). |
| Node | Gets a node that the user has dropped. |
TreeList control nodes can be moved using drag-and-drop operations if the TreeListOptionsDragAndDrop.DragNodesMode option (accessible through the TreeList.OptionsBehavior property) is set to Single or Multiple.
The AfterDropNode event fires after a node has been dropped. The AfterDropNodeEventArgs.Node property allows you to determine the node being dropped. To get the destination parent node, read the DestinationNode property.
See Also