TreeView.DoFoldoutCallback

Declaration

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

Parameters

position Rect to draw the foldout.
expandedState Current foldout state.
style Toggle 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.


Did you find this page useful? Please give it a rating: