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
- Type: Method
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor.CoreModule
public int GetColumn(int visibleColumnIndex)
Parameters
This index is the index into the current visible columns.
Returns
Type | Description |
|---|---|
| int | Column 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.