Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

TreeView.DragAndDropArgs.parentItem

public IMGUI.Controls.TreeViewItem parentItem;

Description

The parent item is set if the drag is either upon this item or between two of its children.

Use this value to determine if the drag is value and what happens when items are dropped.

See Also: insertAtIndex, dragAndDropPosition, performDrop.