52 references to items
System.Windows.Forms (52)
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (52)
82
return this.
items
.Contains(value);
89
return this.
items
.IndexOf(value);
122
return this.
items
.Count;
150
this.
items
.CopyTo(array, index);
160
return this.
items
.GetEnumerator();
185
return this.
items
;
206
return (DataGridViewColumn) this.
items
[index];
222
int itemCount = this.
items
.Count;
225
DataGridViewColumn dataGridViewColumn = (DataGridViewColumn) this.
items
[i];
294
int index = this.
items
.Add(dataGridViewColumn);
384
index = this.
items
.Add(dataGridViewColumn);
424
DataGridViewColumn[] aColumns = new DataGridViewColumn[this.
items
.Count];
429
this.
items
.Clear();
463
return this.
items
.IndexOf(dataGridViewColumn) != -1;
473
int itemCount = this.
items
.Count;
476
DataGridViewColumn dataGridViewColumn = (DataGridViewColumn) this.
items
[i];
489
this.
items
.CopyTo(array, index);
494
int displayIndex1 = ((DataGridViewColumn) this.
items
[columnIndex1]).DisplayIndex;
495
int displayIndex2 = ((DataGridViewColumn) this.
items
[columnIndex2]).DisplayIndex;
501
if (displayIndex < 0 || displayIndex >= this.
items
.Count)
505
DataGridViewColumn dataGridViewColumn = ((DataGridViewColumn) this.
items
[displayIndex]);
511
for (int columnIndex = 0; columnIndex < this.
items
.Count; columnIndex++)
513
dataGridViewColumn = ((DataGridViewColumn) this.
items
[columnIndex]);
553
for (int columnIndex = 0; columnIndex < this.
items
.Count; columnIndex++)
555
if (((DataGridViewColumn)this.
items
[columnIndex]).StateIncludes(includeFilter))
573
for (int columnIndex = 0; columnIndex < this.
items
.Count; columnIndex++)
575
if (((DataGridViewColumn)this.
items
[columnIndex]).StateIncludes(correctedIncludeFilter) &&
576
((DataGridViewColumn)this.
items
[columnIndex]).Resizable == DataGridViewTriState.True)
591
Debug.Assert(((DataGridViewColumn) this.
items
[toColumnIndex]).StateIncludes(includeFilter));
594
DataGridViewColumn dataGridViewColumn = (DataGridViewColumn) this.
items
[fromColumnIndex];
596
while (dataGridViewColumn != (DataGridViewColumn) this.
items
[toColumnIndex])
644
for (int columnIndex = 0; columnIndex < this.
items
.Count; columnIndex++)
646
if (((DataGridViewColumn)this.
items
[columnIndex]).StateIncludes(includeFilter))
648
weightSum += ((DataGridViewColumn)this.
items
[columnIndex]).FillWeight;
682
for(int columnIndex = 0; columnIndex < this.
items
.Count; columnIndex++)
684
if (((DataGridViewColumn) this.
items
[columnIndex]).StateIncludes(includeFilter))
686
columnsWidth += ((DataGridViewColumn) this.
items
[columnIndex]).Thickness;
842
for (index = 0; index < this.
items
.Count; index++)
844
DataGridViewColumn dataGridViewColumn = (DataGridViewColumn) this.
items
[index];
861
return columnFound ? ((DataGridViewColumn) this.
items
[indexMin]) : null;
914
for (index = 0; index < this.
items
.Count; index++)
916
DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)this.
items
[index];
933
return columnFound ? ((DataGridViewColumn) this.
items
[indexMax]) : null;
956
return this.
items
.IndexOf(dataGridViewColumn);
994
this.
items
.Insert(columnIndex, dataGridViewColumn);
1115
int itemsCount = this.
items
.Count;
1118
if (this.
items
[i] == dataGridViewColumn)
1139
int itemsCount = this.
items
.Count;
1142
DataGridViewColumn dataGridViewColumn = (DataGridViewColumn) this.
items
[i];
1188
DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)this.
items
[index];
1192
this.
items
.RemoveAt(index);
1248
this.itemsSorted = (ArrayList) this.
items
.Clone();