Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

TreeView.SetSelection

public void SetSelection(IList<int> selectedIDs);
public void SetSelection(IList<int> selectedIDs, IMGUI.Controls.TreeViewSelectionOptions options);

Parameters

selectedIDsTreeViewItem IDs.
optionsOptions for extra logic performed after the selection. See TreeViewSelectionOptions.

Description

Set the selected items of the TreeView.

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