# TreeView.RowGUIArgs

> Method arguments for the virtual method TreeView.RowGUI.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEditor.IMGUI.Controls](/engine/6000.5/script-reference/unityeditor/imgui/controls.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
protected struct TreeView.RowGUIArgs
```

## Fields

| Value                                                                                                      | Description                                                                                                                                                                                                                      |
| ---------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [focused](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview/rowguiargs/focused.md)       | This value is true only when the TreeView has keyboard focus and the TreeView's window has focus.                                                                                                                                |
| [isRenaming](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview/rowguiargs/isrenaming.md) | This value is true when the ::item is currently being renamed.                                                                                                                                                                   |
| [item](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview/rowguiargs/item.md)             | Item for the current row being handled in RowGUI.                                                                                                                                                                                |
| [label](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview/rowguiargs/label.md)           | Label used for text rendering of the item displayName. Note this is an empty string when [TreeView.RowGUIArgs.isRenaming](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview/rowguiargs/isrenaming.md) == true. |
| [row](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview/rowguiargs/row.md)               | Row index into the list of current rows.                                                                                                                                                                                         |
| [rowRect](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview/rowguiargs/rowrect.md)       | Row rect for the current row being handled.                                                                                                                                                                                      |
| [selected](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview/rowguiargs/selected.md)     | This value is true when the current row's item is part of the current selection.                                                                                                                                                 |

## Methods

| Method                                                                                                                         | Description                                                                                                                                                                                                                                                                       |
| ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [GetCellRect](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview/rowguiargs/getcellrect.md)                   | If using a MultiColumnHeader for the TreeView this method can be used to get the cell rects of a row using the visible columns of the MultiColumnHeader.                                                                                                                          |
| [GetColumn](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview/rowguiargs/getcolumn.md)                       | 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](/engine/6000.5/script-reference/unityeditor/imgui/controls/multicolumnheaderstate.md). |
| [GetNumVisibleColumns](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview/rowguiargs/getnumvisiblecolumns.md) | If using a MultiColumnHeader for the TreeView use this method to get the number of visible columns currently being shown in the MultiColumnHeader.                                                                                                                                |

## Operators

| Operator                                                                                                    | Description                                                               |
| ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| [RowGUIArgs](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview/rowguiargs/op-implicit.md) | Implicitly convert between RowGUIArgs on TreeView, and TreeView\\\<int\\> |
