1 write to _ptMouseEnteredCell
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
474_ptMouseEnteredCell = new Point(-2, -2);
31 references to _ptMouseEnteredCell
System.Windows.Forms (31)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2175internal Point MouseEnteredCellAddress => _ptMouseEnteredCell;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (30)
12609_ptMouseEnteredCell.X = e.ColumnIndex; 12610_ptMouseEnteredCell.Y = e.RowIndex; 12632_ptMouseEnteredCell.X = -2; 12633_ptMouseEnteredCell.Y = -2; 16157if (!mouseOverEditingPanel && !mouseOverEditingControl && !mouseOverToolTipControl && _ptMouseEnteredCell.X != -2) 16159if (_ptMouseEnteredCell.X >= -1 && _ptMouseEnteredCell.X < Columns.Count 16160&& _ptMouseEnteredCell.Y >= -1 && _ptMouseEnteredCell.Y < Rows.Count) 16162OnCellMouseLeave(new(_ptMouseEnteredCell.X, _ptMouseEnteredCell.Y)); 16166_ptMouseEnteredCell.X = _ptMouseEnteredCell.Y = -2; 29161if (_ptMouseEnteredCell.X != htiToUse._col || _ptMouseEnteredCell.Y != htiToUse._row) 29164if (_ptMouseEnteredCell.X >= -1 29165&& _ptMouseEnteredCell.X < Columns.Count 29166&& _ptMouseEnteredCell.Y >= -1 29167&& _ptMouseEnteredCell.Y < Rows.Count) 29169dgvce = new DataGridViewCellEventArgs(_ptMouseEnteredCell.X, _ptMouseEnteredCell.Y); 29189else if (_ptMouseEnteredCell.X != -2) 29191if (_ptMouseEnteredCell.X >= -1 29192&& _ptMouseEnteredCell.X < Columns.Count 29193&& _ptMouseEnteredCell.Y >= -1 29194&& _ptMouseEnteredCell.Y < Rows.Count) 29196DataGridViewCellEventArgs dgvce = new(_ptMouseEnteredCell.X, _ptMouseEnteredCell.Y); 29201_ptMouseEnteredCell.X = _ptMouseEnteredCell.Y = -2;