# TreeView<TIdentifier>.DragAndDropArgs

> Method arguments for the TreeView<TIdentifier>.HandleDragAndDrop virtual method.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEditor.IMGUI.Controls](/engine/6000.5/script-reference/unityeditor/imgui/controls.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
protected struct TreeView<TIdentifier>.DragAndDropArgs
```

## Fields

| Value                                                                                                                              | Description                                                                                                                                                                                                                                              |
| ---------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [dragAndDropPosition](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview1/draganddropargs/draganddropposition.md) | When dragging items the current drag can have the following 3 positions relative to the items: Upon an item, Between two items or Outside items.                                                                                                         |
| [insertAtIndex](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview1/draganddropargs/insertatindex.md)             | This index refers to the index in the children list of the [TreeView\<TIdentifier>.DragAndDropArgs.parentItem](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview1/draganddropargs/parentitem.md) where the current drag is positioned. |
| [parentItem](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview1/draganddropargs/parentitem.md)                   | The parent item is set if the drag is either upon this item or between two of its children.                                                                                                                                                              |
| [performDrop](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview1/draganddropargs/performdrop.md)                 | This value is false as long as the mouse button is down, when the mouse button is released it is true.                                                                                                                                                   |
