1 write to individualSelectedCells
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataGridView.cs (1)
469
this.
individualSelectedCells
= new DataGridViewCellLinkedList();
54 references to individualSelectedCells
System.Windows.Forms (54)
winforms\Managed\System\WinForms\DataGridView.cs (3)
4624
stcc.AddCellLinkedList(this.
individualSelectedCells
);
4639
stcc.AddCellLinkedList(this.
individualSelectedCells
);
4656
stcc.AddCellLinkedList(this.
individualSelectedCells
);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (51)
1387
allCellsSelected = this.
individualSelectedCells
.Count == this.Columns.Count * this.Rows.Count;
1418
allCellsSelected = this.selectedBandIndexes.Count * this.Rows.Count + this.
individualSelectedCells
.Count == this.Columns.Count * this.Rows.Count;
1451
allCellsSelected = this.selectedBandIndexes.Count * this.Columns.Count + this.
individualSelectedCells
.Count == this.Columns.Count * this.Rows.Count;
3440
this.
individualSelectedCells
.Count > DATAGRIDVIEW_bulkPaintThreshold)
3556
this.
individualSelectedCells
.Count > DATAGRIDVIEW_bulkPaintThreshold)
6925
cellCount = this.
individualSelectedCells
.Count;
6953
foreach (DataGridViewCell dataGridViewCell in this.
individualSelectedCells
)
7784
if (!selectedVisibleCellExists && this.
individualSelectedCells
.Count > 0)
7786
foreach (DataGridViewCell dataGridViewCell in this.
individualSelectedCells
)
7952
foreach (DataGridViewCell dataGridViewCell in this.
individualSelectedCells
)
12510
Debug.Assert(this.MultiSelect || this.
individualSelectedCells
.Count <= 1);
13684
this.
individualSelectedCells
.Count > 0;
13690
this.
individualSelectedCells
.Clear();
14271
Debug.Assert(this.
individualSelectedCells
.Count == 0);
17681
this.dataGridViewState2[DATAGRIDVIEWSTATE2_raiseSelectionChanged] |= this.
individualSelectedCells
.RemoveAllCellsAtBand(true /*column*/, columnIndex) > 0 ||
17810
this.dataGridViewState2[DATAGRIDVIEWSTATE2_raiseSelectionChanged] |= this.
individualSelectedCells
.RemoveAllCellsAtBand(false /*column*/, rowIndexDeleted) > 0 ||
17820
this.
individualSelectedCells
.Add(dataGridViewCell);
17859
this.dataGridViewState2[DATAGRIDVIEWSTATE2_replacedCellSelected] = this.
individualSelectedCells
.Contains(dataGridViewCell);
17862
this.
individualSelectedCells
.Remove(dataGridViewCell);
18552
Debug.Assert(this.
individualSelectedCells
.Count == 0);
25795
if (this.
individualSelectedCells
.Count > DATAGRIDVIEW_bulkPaintThreshold)
25802
while (this.
individualSelectedCells
.Count > 0)
25804
DataGridViewCell dataGridViewCell = this.
individualSelectedCells
.HeadCell;
25821
if (this.
individualSelectedCells
.Count > DATAGRIDVIEW_bulkPaintThreshold)
25828
while (this.
individualSelectedCells
.Count > 0)
25830
DataGridViewCell dataGridViewCell = this.
individualSelectedCells
.HeadCell;
25837
while (this.
individualSelectedCells
.Count > 1)
25839
dataGridViewCell = this.
individualSelectedCells
[1];
25864
while (cellIndex < this.
individualSelectedCells
.Count)
25866
dataGridViewCell = this.
individualSelectedCells
[cellIndex];
25888
while (cellIndex < this.
individualSelectedCells
.Count)
25890
dataGridViewCell = this.
individualSelectedCells
[cellIndex];
25914
while (cellIndex < this.
individualSelectedCells
.Count)
25916
DataGridViewCell dataGridViewCell = this.
individualSelectedCells
[cellIndex];
26739
if (index < this.
individualSelectedCells
.Count)
26741
return this.
individualSelectedCells
[index];
26764
index < this.
individualSelectedCells
.Count)
26766
return this.
individualSelectedCells
[index];
26789
index < this.
individualSelectedCells
.Count)
26791
return this.
individualSelectedCells
[index];
27427
if (this.MultiSelect && (this.
individualSelectedCells
.Count + this.selectedBandIndexes.Count) > 1)
27431
if (this.
individualSelectedCells
.Count == 1)
27433
DataGridViewCell dataGridViewCell = this.
individualSelectedCells
.HeadCell;
27654
this.
individualSelectedCells
.Add(dataGridViewCell);
27662
Debug.Assert(this.
individualSelectedCells
.Contains(dataGridViewCell));
27663
this.
individualSelectedCells
.Remove(dataGridViewCell);
27686
this.
individualSelectedCells
.Add(dataGridViewCellTmp);
27692
this.
individualSelectedCells
.Add(dataGridViewCellTmp);
27719
this.
individualSelectedCells
.Add(dataGridViewCellTmp);
27725
this.
individualSelectedCells
.Add(dataGridViewCellTmp);
27774
Debug.Assert(this.
individualSelectedCells
.Count <= 1);