public void Insert(int index, IndexedItemContainer <T, bool> item) { item.Index = index; if (index <= Containers.Count) { if (Border != null) { Border.Index--; } if (item.Value) { Containers.Insert(index, item); } else { ReduceUpTo(item); } } Count++; }