1 write to _individualSelectedCells
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
421_individualSelectedCells = [];
54 references to _individualSelectedCells
System.Windows.Forms (54)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (3)
3638stcc.AddCellLinkedList(_individualSelectedCells); 3655stcc.AddCellLinkedList(_individualSelectedCells); 3675stcc.AddCellLinkedList(_individualSelectedCells);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (51)
1398allCellsSelected = _individualSelectedCells.Count == Columns.Count * Rows.Count; 1432allCellsSelected = _selectedBandIndexes.Count * Rows.Count + _individualSelectedCells.Count == Columns.Count * Rows.Count; 1468allCellsSelected = _selectedBandIndexes.Count * Columns.Count + _individualSelectedCells.Count == Columns.Count * Rows.Count; 3392if (_selectedBandIndexes.Count > BulkPaintThreshold || _individualSelectedCells.Count > BulkPaintThreshold) 3503if (_selectedBandIndexes.Count > BulkPaintThreshold || _individualSelectedCells.Count > BulkPaintThreshold) 6854cellCount = _individualSelectedCells.Count; 6884foreach (DataGridViewCell dataGridViewCell in _individualSelectedCells) 7747if (!selectedVisibleCellExists && _individualSelectedCells.Count > 0) 7749foreach (DataGridViewCell dataGridViewCell in _individualSelectedCells) 7863foreach (DataGridViewCell dataGridViewCell in _individualSelectedCells) 12139Debug.Assert(MultiSelect || _individualSelectedCells.Count <= 1); 13229|| _individualSelectedCells.Count > 0; 13233_individualSelectedCells.Clear(); 13803Debug.Assert(_individualSelectedCells.Count == 0); 17228_dataGridViewState2[State2_RaiseSelectionChanged] |= _individualSelectedCells.RemoveAllCellsAtBand(column: true, columnIndex) > 0 17367_dataGridViewState2[State2_RaiseSelectionChanged] |= _individualSelectedCells.RemoveAllCellsAtBand(column: false, rowIndexDeleted) > 0 17377_individualSelectedCells.Add(dataGridViewCell); 17419_dataGridViewState2[State2_ReplacedCellSelected] = _individualSelectedCells.Contains(dataGridViewCell); 17422_individualSelectedCells.Remove(dataGridViewCell); 18085Debug.Assert(_individualSelectedCells.Count == 0); 25672if (_individualSelectedCells.Count > BulkPaintThreshold) 25680while (_individualSelectedCells.Count > 0) 25682DataGridViewCell dataGridViewCell = _individualSelectedCells.HeadCell; 25699if (_individualSelectedCells.Count > BulkPaintThreshold) 25707while (_individualSelectedCells.Count > 0) 25709DataGridViewCell dataGridViewCell = _individualSelectedCells.HeadCell; 25716while (_individualSelectedCells.Count > 1) 25718dataGridViewCell = _individualSelectedCells[1]; 25744while (cellIndex < _individualSelectedCells.Count) 25746dataGridViewCell = _individualSelectedCells[cellIndex]; 25768while (cellIndex < _individualSelectedCells.Count) 25770dataGridViewCell = _individualSelectedCells[cellIndex]; 25794while (cellIndex < _individualSelectedCells.Count) 25796DataGridViewCell dataGridViewCell = _individualSelectedCells[cellIndex]; 26644if (index < _individualSelectedCells.Count) 26646return _individualSelectedCells[index]; 26671&& index < _individualSelectedCells.Count) 26673return _individualSelectedCells[index]; 26697if (SelectionMode == DataGridViewSelectionMode.RowHeaderSelect && index < _individualSelectedCells.Count) 26699return _individualSelectedCells[index]; 27403if (MultiSelect && (_individualSelectedCells.Count + _selectedBandIndexes.Count) > 1) 27408if (_individualSelectedCells.Count == 1) 27410DataGridViewCell dataGridViewCell = _individualSelectedCells.HeadCell; 27630_individualSelectedCells.Add(dataGridViewCell); 27638Debug.Assert(_individualSelectedCells.Contains(dataGridViewCell)); 27639_individualSelectedCells.Remove(dataGridViewCell); 27664_individualSelectedCells.Add(dataGridViewCellTmp); 27671_individualSelectedCells.Add(dataGridViewCellTmp); 27699_individualSelectedCells.Add(dataGridViewCellTmp); 27706_individualSelectedCells.Add(dataGridViewCellTmp); 27757Debug.Assert(_individualSelectedCells.Count <= 1);