1 write to _ptMouseEnteredCell
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
478_ptMouseEnteredCell = new Point(-2, -2);
31 references to _ptMouseEnteredCell
System.Windows.Forms (31)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2168internal Point MouseEnteredCellAddress => _ptMouseEnteredCell;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (30)
12605_ptMouseEnteredCell.X = e.ColumnIndex; 12606_ptMouseEnteredCell.Y = e.RowIndex; 12627_ptMouseEnteredCell.X = -2; 12628_ptMouseEnteredCell.Y = -2; 16144if (!mouseOverEditingPanel && !mouseOverEditingControl && !mouseOverToolTipControl && _ptMouseEnteredCell.X != -2) 16146if (_ptMouseEnteredCell.X >= -1 && _ptMouseEnteredCell.X < Columns.Count 16147&& _ptMouseEnteredCell.Y >= -1 && _ptMouseEnteredCell.Y < Rows.Count) 16149OnCellMouseLeave(new(_ptMouseEnteredCell.X, _ptMouseEnteredCell.Y)); 16153_ptMouseEnteredCell.X = _ptMouseEnteredCell.Y = -2; 29153if (_ptMouseEnteredCell.X != htiToUse._col || _ptMouseEnteredCell.Y != htiToUse._row) 29156if (_ptMouseEnteredCell.X >= -1 29157&& _ptMouseEnteredCell.X < Columns.Count 29158&& _ptMouseEnteredCell.Y >= -1 29159&& _ptMouseEnteredCell.Y < Rows.Count) 29161dgvce = new DataGridViewCellEventArgs(_ptMouseEnteredCell.X, _ptMouseEnteredCell.Y); 29181else if (_ptMouseEnteredCell.X != -2) 29183if (_ptMouseEnteredCell.X >= -1 29184&& _ptMouseEnteredCell.X < Columns.Count 29185&& _ptMouseEnteredCell.Y >= -1 29186&& _ptMouseEnteredCell.Y < Rows.Count) 29188DataGridViewCellEventArgs dgvce = new(_ptMouseEnteredCell.X, _ptMouseEnteredCell.Y); 29193_ptMouseEnteredCell.X = _ptMouseEnteredCell.Y = -2;