32 references to CurrentCellAddress
System.Windows.Forms (32)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (8)
652if (_owner.CurrentCellAddress.Y == e.NewIndex && _owner.IsCurrentCellInEditMode) 681Debug.Assert(_owner.CurrentCellAddress.X == -1); 720_owner.CurrentCellAddress.Y != _owner.NewRowIndex && // condition 5. 770if (_owner.CurrentCellAddress.Y != _owner.NewRowIndex || _owner.IsCurrentRowDirty) 1216int columnIndex = _owner.CurrentCellAddress.X == -1 ? _owner.FirstDisplayedColumnIndex : _owner.CurrentCellAddress.X; 1261if (rowIndex == _owner.CurrentCellAddress.Y && columnIndex == _owner.CurrentCellAddress.X)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
13878Debug.Assert(CurrentCellAddress == new Point(-1, -1)); 18157Debug.Assert(CurrentCellAddress == new Point(-1, -1));
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (5)
658Point ptCurrentCell = DataGridView!.CurrentCellAddress; 892(DataGridView.CurrentCellAddress.Y == rowIndex && DataGridView.CurrentCellAddress.X == ColumnIndex)) 927(DataGridView.CurrentCellAddress.Y == rowIndex && DataGridView.CurrentCellAddress.X == ColumnIndex))
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (5)
405Point ptCurrentCell = DataGridView.CurrentCellAddress; 1487Point ptCurrentCell = DataGridView.CurrentCellAddress; 2427|| (dataGridView.AllowUserToAddRowsInternal && rowIndex > -1 && rowIndex == dataGridView.NewRowIndex && rowIndex != dataGridView.CurrentCellAddress.Y) 2708Point ptCurrentCell = DataGridView.CurrentCellAddress; 3913if (OwningRow.Index == DataGridView.CurrentCellAddress.Y)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (4)
432Point ptCurrentCell = DataGridView.CurrentCellAddress; 519Point ptCurrentCell = DataGridView.CurrentCellAddress; 788Point ptCurrentCell = DataGridView.CurrentCellAddress; 1080Point ptCurrentCell = DataGridView.CurrentCellAddress;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
1666Point ptCurrentCell = DataGridView.CurrentCellAddress; 1915Point ptCurrentCell = DataGridView.CurrentCellAddress;
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
888Point ptCurrentCell = DataGridView!.CurrentCellAddress;
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (1)
907Point ptCurrentCell = DataGridView!.CurrentCellAddress;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (2)
777if (DataGridView.CurrentCellAddress.Y == rowIndex) 933if (DataGridView.CurrentCellAddress.Y == rowIndex)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (2)
575Point ptCurrentCell = DataGridView.CurrentCellAddress; 677Point ptCurrentCell = DataGridView!.CurrentCellAddress;