# TreeView<TIdentifier>.RenameEndedArgs

> Method arguments for the virtual method TreeView<TIdentifier>.RenameEnded.

## Definition

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

```csharp
protected struct TreeView<TIdentifier>.RenameEndedArgs
```

## Fields

| Value                                                                                                                    | Description                                 |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------- |
| [acceptedRename](/engine/6000.7/script-reference/unityeditor/imgui/controls/treeview1/renameendedargs/acceptedrename.md) | Is true if the rename is accepted.          |
| [itemID](/engine/6000.7/script-reference/unityeditor/imgui/controls/treeview1/renameendedargs/itemid.md)                 | Item with ID that are being renamed.        |
| [newName](/engine/6000.7/script-reference/unityeditor/imgui/controls/treeview1/renameendedargs/newname.md)               | Name entered in the rename overlay.         |
| [originalName](/engine/6000.7/script-reference/unityeditor/imgui/controls/treeview1/renameendedargs/originalname.md)     | The original name when starting the rename. |
