27 references to _items
System.Windows.Forms (27)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellCollection.cs (27)
24bool IList.Contains(object? value) => ((IList)_items).Contains(value); 26int IList.IndexOf(object? value) => ((IList)_items).IndexOf(value); 34bool IList.IsFixedSize => ((IList)_items).IsFixedSize; 36bool IList.IsReadOnly => ((IList)_items).IsReadOnly; 44void ICollection.CopyTo(Array array, int index) => ((ICollection)_items).CopyTo(array, index); 46int ICollection.Count => _items.Count; 48bool ICollection.IsSynchronized => ((ICollection)_items).IsSynchronized; 50object ICollection.SyncRoot => ((ICollection)_items).SyncRoot; 52IEnumerator IEnumerable.GetEnumerator() => _items.GetEnumerator(); 60protected override ArrayList List => ArrayList.Adapter(_items); 67get => _items[index]; 84DataGridViewCell oldDataGridViewCell = _items[index]; 85_items[index] = dataGridViewCell; 128return _items[dataGridViewColumn.Index]; 175int index = ((IList)_items).Add(dataGridViewCell); 223_items.AddRange(dataGridViewCells); 240foreach (DataGridViewCell dataGridViewCell in _items) 245_items.Clear(); 251_items.CopyTo(array, index); 259int index = _items.IndexOf(dataGridViewCell); 263public int IndexOf(DataGridViewCell dataGridViewCell) => _items.IndexOf(dataGridViewCell); 279_items.Insert(index, dataGridViewCell); 287_items.Insert(index, dataGridViewCell); 311int itemsCount = _items.Count; 314if (_items[i] == cell) 343DataGridViewCell dataGridViewCell = _items[index]; 344_items.RemoveAt(index);