Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Draws a full-width interactive tree row whose non-leaf content toggles expansion when double-clicked, while preserving single-click disclosure-arrow behavior.

API: engine
Project: Inno.Editor.ImGui

public Inno.Editor.ImGui.ImGuiWidget.TreeNodeResult Inno.Editor.ImGui.ImGuiWidget.ImGuiWidget.TreeNode(string id, System.Action<Inno.Editor.ImGui.ImGuiWidget.TreeNodeDrawContext> onDraw, in Inno.Editor.ImGui.ImGuiWidget.TreeNodeOptions options)

Parameter id: Stable row identifier.

Parameter onDraw: Frame-local content drawing for visible or explicitly preserved rows; clipped ordinary rows do not invoke it.

Parameter options: Tree row options.

Interaction and row geometry for the submitted item.

Exception T:System.ArgumentOutOfRangeException: An explicit flattened depth is negative.