This version of Unity is unsupported.

TreeView.DoFoldoutCallback

public delegate bool DoFoldoutCallback(Rect position, bool expandedState, GUIStyle style);

Parameters

positionRect to draw the foldout.
expandedStateCurrent foldout state.
styleToggle button style.

Returns

bool Returns true if the foldout is still expanded. Otherwise, returns false.

Description

Callback signature used to override the TreeView foldout. See foldoutOverride.