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