Legacy Documentation: Version 2018.1 (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.

Did you find this page useful? Please give it a rating: