Version: 2023.2
LanguageEnglish
  • C#

TreeViewItemData<T0>

struct in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Item structure provided to a TreeView using the default implementation.

Properties

children Children of this tree item.
data Data for this item.
hasChildren Whether this item has children or not.
id Id of the item.

Constructors

TreeViewItemData_1 Creates a TreeViewItemData_1 with all required parameters.