Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetColumn(int)

If using a MultiColumnHeader for the TreeView this method can be used to convert an index from the visible columns list to a index into the actual columns in the MultiColumnHeaderState.
Read time 1 minuteLast updated 8 days ago

Definition

public int GetColumn(int visibleColumnIndex)

Parameters

visibleColumnIndex

This index is the index into the current visible columns.

Returns

Type

Description

intColumn index into the columns array in MultiColumnHeaderState.

Remarks

Note that columns can be hidden by using the context menu of the MultiColumnHeader.
Additional Resources: TreeView.RowGUIArgs.GetCellRect.