Arguments which are passed to ItemRemovingEventHandler.
Inheritance: CancelEventArgs
 protected virtual void OnItemRemoving(ItemRemovingEventArgs args)
 {
     if (this.ItemRemoving != null)
     {
         this.ItemRemoving(this, args);
     }
 }
 protected bool RemoveItem(IReorderableListAdaptor adaptor, int itemIndex)
 {
     ItemRemovingEventArgs itemRemovingEventArgs = new ItemRemovingEventArgs(adaptor, itemIndex);
     this.OnItemRemoving(itemRemovingEventArgs);
     if (itemRemovingEventArgs.Cancel)
     {
         return false;
     }
     adaptor.Remove(itemIndex);
     GUI.changed = true;
     ReorderableListGUI.indexOfChangedItem = -1;
     return true;
 }
 protected bool ClearAll(IReorderableListAdaptor adaptor)
 {
     if (adaptor.Count == 0)
     {
         return true;
     }
     ItemRemovingEventArgs itemRemovingEventArgs = new ItemRemovingEventArgs(adaptor, 0);
     int count = adaptor.Count;
     for (int i = 0; i < count; i++)
     {
         itemRemovingEventArgs.itemIndex = i;
         this.OnItemRemoving(itemRemovingEventArgs);
         if (itemRemovingEventArgs.Cancel)
         {
             return false;
         }
     }
     adaptor.Clear();
     GUI.changed = true;
     ReorderableListGUI.indexOfChangedItem = -1;
     return true;
 }