This version of Unity is unsupported.

TreeView.foldoutOverride

protected IMGUI.Controls.TreeView.DoFoldoutCallback foldoutOverride;

Description

Register a callback to this property to override the Foldout button in the TreeView.