Version: 2018.1

TreeView.treeViewControlID

Switch to Manual
public int treeViewControlID ;

Description

The controlID used by the TreeView to obtain keyboard control focus.

Can be used for setting keyboard focus to the TreeView from script: GUIUtility.keyboardControl = treeViewControlID;