itemIndexChanged
Called when an item is moved in the itemsSource.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Event
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public event Action<int, int> itemIndexChanged
Remarks
This callback receives two IDs, the first being the ID being moved, the second being the destination ID. In the case of a tree, the destination is the parent ID.