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

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

TreeView.GetCellRectForTreeFoldouts

protected Rect GetCellRectForTreeFoldouts(Rect rowRect);

Parameters

rowRectRect for a row.

Returns

Rect Cell rect in a multi column setup.

Description

Utility for multi column setups. This method will clip the input rowRect against the column rect defined by columnIndexForTreeFoldouts to get the cell rect where the the foldout arrows appear.

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