# tabClosed

> Raised when a tab is closed. The first argument is the tab that was closed, the second is the index of the tab that was closed.

## Definition

* **Type:** Event
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public event Action<Tab, int> tabClosed
```
