Version: 2018.1
public void OnGUI (Rect rect);

Parameters

rectRect where the TreeView is rendered.

Description

This is the main GUI method of the TreeView, where the TreeViewItems are processed and drawn.

Call this at the point at which the TreeView should be rendered in the given Rect. If the TreeView is constructed with a MultiColumnHeader the header is included in the rect provided.