Arguments which are passed to ItemInsertedEventHandler.
Inheritance: System.EventArgs
 protected virtual void OnItemInserted(ItemInsertedEventArgs args)
 {
     if (this.ItemInserted != null)
     {
         this.ItemInserted(this, args);
     }
 }
 protected void AddItem(IReorderableListAdaptor adaptor)
 {
     adaptor.Add();
     this.AutoFocusItem(ReorderableListControl.s_ContextControlID, adaptor.Count - 1);
     GUI.changed = true;
     ReorderableListGUI.indexOfChangedItem = -1;
     ItemInsertedEventArgs args = new ItemInsertedEventArgs(adaptor, adaptor.Count - 1, false);
     this.OnItemInserted(args);
 }
 protected void InsertItem(IReorderableListAdaptor adaptor, int itemIndex)
 {
     adaptor.Insert(itemIndex);
     this.AutoFocusItem(ReorderableListControl.s_ContextControlID, itemIndex);
     GUI.changed = true;
     ReorderableListGUI.indexOfChangedItem = -1;
     ItemInsertedEventArgs args = new ItemInsertedEventArgs(adaptor, itemIndex, false);
     this.OnItemInserted(args);
 }
        /// <summary>
        /// Duplicate specified item and raises the event <see
        /// cref="ItemInserted"/>.
        /// </summary>
        /// <param name="adaptor">Reorderable list adaptor.</param>
        /// <param name="itemIndex">Zero-based index of item.</param>
        protected void DuplicateItem(IReorderableListAdaptor adaptor, int itemIndex)
        {
            adaptor.Duplicate(itemIndex);
            AutoFocusItem(s_ContextControlID, itemIndex + 1);

            GUI.changed = true;
            ReorderableListGUI.indexOfChangedItem = -1;

            var args = new ItemInsertedEventArgs(adaptor, itemIndex + 1, true);
            OnItemInserted(args);
        }