| AddExpandedRows | Adds the expanded rows of the full tree to the input list. Only use this method if a full tree was built in BuildRoot. |
| AfterRowsGUI | This is called after all rows have their TreeView<TIdentifier>.RowGUI called. |
| BeforeRowsGUI | This is called before any rows have their TreeView<TIdentifier>.RowGUI called. |
| BeginRename | Shows the rename overlay for a TreeViewItem. |
| BuildRoot | Abstract method that is required to be implemented. By default this method should create the full tree of TreeViewItems and return the root. |
| BuildRows | Override this method to take control of how the rows are generated. |
| CanBeParent | Override this method to control which items are allowed to be parents. |
| CanChangeExpandedState | Override this method to control whether an item can be expanded or collapsed by key or mouse. |
| CanMultiSelect | Override this method to control whether the item can be part of a multiselection. |
| CanRename | Override this method to control whether the item can be renamed using a keyboard shortcut or when clicking an already selected item. |
| CanStartDrag | This function is called whenever a TreeViewItem is clicked and dragged. It returns false by default. |
| CenterRectUsingSingleLineHeight | Modifies the input rect so it is centered and have a height equal to EditorGUIUtility.singleLineHeight. |
| CollapseAll | Collapse all expanded items in the TreeView. |
| CommandEventHandling | This function is called automatically and handles the ExecuteCommand events for “SelectAll” and “FrameSelection”. Override this function to extend or avoid Command events. |
| ContextClicked | Override this method to handle context clicks outside any items (but still in the TreeView rect). |
| ContextClickedItem | Override this method to handle a context click on an item with ID TreeViewItem<TIdentifier>.id. |
| DoesItemMatchSearch | Override this function to extend or change the search behavior. |
| DoubleClickedItem | Override this method to handle double click events on an item. |
| EndRename | Ends renaming if the rename overlay is shown. If called while the rename overlay is not being shown, this method does nothing. |
| ExpandAll | Expand all collapsed items in the TreeView. |
| ExpandedStateChanged | Override to get notified when items are expanded or collapsed. This is a general notification that the expanded state has changed. |
| FindItem | Finds a TreeViewItem by an ID. |
| FindRowOfItem | Returns the row of the given TreeViewItem. |
| FindRows | Useful for converting from TreeViewItem IDs to TreeViewItems using the current rows. |
| FrameItem | This will reveal the item with ID id (by expanding the ancestors of that item) and will make sure it is visible in the ScrollView. |
| GetAncestors | This method is e.g. used for revealing items that are currently under a collapsed item. |
| GetCellRectForTreeFoldouts | Utility for multi column setups. This method will clip the input rowRect against the column rect defined by columnIndexForTreeFoldouts to get the cell rect where the the foldout arrows appear. |
| GetContentIndent | Returns the horizontal content offset for an item. This is where the content should begin (after the foldout arrow). |
| GetCustomRowHeight | Override to control individual row heights. |
| GetDescendantsThatHaveChildren | Returns all descendants for the item with ID id that have children. |
| GetExpanded | Returns a list of TreeViewItem IDs that are currently expanded in the TreeView. |
| GetFirstAndLastVisibleRows | Returns the first and the last indices of the rows that are visible in the scroll view of the TreeView. |
| GetFoldoutIndent | Returns the horizontal foldout offset for an item. This is where the foldout arrow is rendered. |
| GetRenameRect | Override this method if custom GUI handling are used in TreeView<TIdentifier>.RowGUI. This method for controls where the rename overlay appears. |
| GetRowRect | Get the rect for a row. |
| GetRows | This is the list of TreeViewItems that have been built in TreeView<TIdentifier>.BuildRows. |
| GetSelection | Returns the list of TreeViewItem IDs that are currently selected. |
| HandleDragAndDrop | Override this function to control the drag and drop behavior of the TreeView. |
| HasFocus | Returns true if the TreeView and its EditorWindow have keyboard focus. |
| HasSelection | Returns true if the TreeView has a selection. |
| IsExpanded | Returns true if the TreeViewItem with ID id is currently expanded. |
| IsSelected | Returns true if the TreeViewItem with ID id is currently selected. |
| KeyEvent | Override this method to handle events when the TreeView has keyboard focus. |
| OnGUI | This is the main GUI method of the TreeView, where the TreeViewItems are processed and drawn. |
| RefreshCustomRowHeights | Refreshes the cache of custom row rects based on the heights returned by TreeView<TIdentifier>.GetCustomRowHeight. |
| Reload | Call this to force the TreeView to reload its data. This in turn causes BuildRoot and BuildRows to be called. |
| RenameEnded | Called when rename ends either by the user completing the renaming process, when the rename overlay loses focus or is closed using TreeView<TIdentifier>.EndRename(). |
| Repaint | Request a repaint of the window that the TreeView is rendered in. |
| RowGUI | Override this method to add custom GUI content for the rows in the TreeView. |
| SearchChanged | Override the method to get notified of search string changes. |
| SelectAllRows | Selects all rows in the TreeView. |
| SelectionChanged | Override the method to get notified of selection changes. |
| SelectionClick | Use this method in TreeView<TIdentifier>.RowGUI to peform the logic of a mouse click. |
| SetExpanded | Set a single TreeViewItem to be expanded or collapsed. |
| SetExpandedRecursive | Expand or collapse all items under item with id. |
| SetFocus | Calling this function changes the keyboard focus to the TreeView. |
| SetFocusAndEnsureSelectedItem | Calling this function changes the keyboard focus to the TreeView and ensures an item is selected. Use this function to enable key navigation of the TreeView. |
| SetSelection | Set the selected items of the TreeView. |
| SetupDragAndDrop | This function is called when TreeView<TIdentifier>.CanStartDrag returns true. |
| SingleClickedItem | Override this method to handle single click events on an item. |
| SortItemIDsInRowOrder | Returns a list sorted in the order in which they are shown in the TreeView. |