# itemsAdded

> This event is called for every item added to the itemsSource. Includes the item index.

## Definition

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

```csharp
public event Action<IEnumerable<int>> itemsAdded
```

### Remarks

Note: This event is only called when items are added through the [BaseListView.viewController](/engine/6000.0/script-reference/unityengine/uielements/baselistview/viewcontroller.md), such as when calling AddItems. Adding items directly to the itemsSource will not trigger this event.
