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)
14286Debug.Assert(CurrentCellAddress == new Point(-1, -1)); 18590Debug.Assert(CurrentCellAddress == new Point(-1, -1));
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (5)
668Point ptCurrentCell = DataGridView!.CurrentCellAddress; 902(DataGridView.CurrentCellAddress.Y == rowIndex && DataGridView.CurrentCellAddress.X == ColumnIndex)) 937(DataGridView.CurrentCellAddress.Y == rowIndex && DataGridView.CurrentCellAddress.X == ColumnIndex))
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (5)
417Point ptCurrentCell = DataGridView.CurrentCellAddress; 1503Point ptCurrentCell = DataGridView.CurrentCellAddress; 2441(dataGridView.AllowUserToAddRowsInternal && rowIndex > -1 && rowIndex == dataGridView.NewRowIndex && rowIndex != dataGridView.CurrentCellAddress.Y) || 2722Point ptCurrentCell = DataGridView.CurrentCellAddress; 3923if (OwningRow.Index == DataGridView.CurrentCellAddress.Y)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (4)
433Point ptCurrentCell = DataGridView.CurrentCellAddress; 520Point ptCurrentCell = DataGridView.CurrentCellAddress; 788Point ptCurrentCell = DataGridView.CurrentCellAddress; 1072Point ptCurrentCell = DataGridView.CurrentCellAddress;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
1684Point ptCurrentCell = DataGridView.CurrentCellAddress; 1933Point ptCurrentCell = DataGridView.CurrentCellAddress;
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
888Point ptCurrentCell = DataGridView!.CurrentCellAddress;
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (1)
959Point ptCurrentCell = DataGridView!.CurrentCellAddress;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (2)
773if (DataGridView.CurrentCellAddress.Y == rowIndex) 929if (DataGridView.CurrentCellAddress.Y == rowIndex)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (2)
578Point ptCurrentCell = DataGridView.CurrentCellAddress; 675Point ptCurrentCell = DataGridView!.CurrentCellAddress;