32 references to CurrentCellAddress
System.Windows.Forms (32)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (5)
712Point ptCurrentCell = this.DataGridView.CurrentCellAddress; 949(this.DataGridView.CurrentCellAddress.Y == rowIndex && this.DataGridView.CurrentCellAddress.X == this.ColumnIndex)) 981(this.DataGridView.CurrentCellAddress.Y == rowIndex && this.DataGridView.CurrentCellAddress.X == this.ColumnIndex))
winforms\Managed\System\WinForms\DataGridViewCell.cs (5)
501Point ptCurrentCell = this.DataGridView.CurrentCellAddress; 1798Point ptCurrentCell = this.DataGridView.CurrentCellAddress; 2681(dataGridView.AllowUserToAddRowsInternal && rowIndex > -1 && rowIndex == dataGridView.NewRowIndex && rowIndex != dataGridView.CurrentCellAddress.Y) || 3102Point ptCurrentCell = this.DataGridView.CurrentCellAddress; 4650if (this.OwningRow.Index == this.DataGridView.CurrentCellAddress.Y)
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (4)
508Point ptCurrentCell = this.DataGridView.CurrentCellAddress; 603Point ptCurrentCell = this.DataGridView.CurrentCellAddress; 913Point ptCurrentCell = this.DataGridView.CurrentCellAddress; 1181Point ptCurrentCell = this.DataGridView.CurrentCellAddress;
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (2)
1911Point ptCurrentCell = this.DataGridView.CurrentCellAddress; 2152Point ptCurrentCell = this.DataGridView.CurrentCellAddress;
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (8)
738if (this.owner.CurrentCellAddress.Y == e.NewIndex && this.owner.IsCurrentCellInEditMode) 765Debug.Assert(this.owner.CurrentCellAddress.X == -1); 804this.owner.CurrentCellAddress.Y != this.owner.NewRowIndex && // condition 5. 856if (this.owner.CurrentCellAddress.Y != this.owner.NewRowIndex || this.owner.IsCurrentRowDirty) 1320int columnIndex = this.owner.CurrentCellAddress.X == -1 ? this.owner.FirstDisplayedColumnIndex : this.owner.CurrentCellAddress.X; 1363if (rowIndex == this.owner.CurrentCellAddress.Y && columnIndex == this.owner.CurrentCellAddress.X)
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
943Point ptCurrentCell = this.DataGridView.CurrentCellAddress;
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (1)
1016Point ptCurrentCell = this.DataGridView.CurrentCellAddress;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
14328Debug.Assert(this.CurrentCellAddress == new Point(-1, -1)); 18614Debug.Assert(this.CurrentCellAddress == new Point(-1, -1));
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (2)
905if (this.DataGridView.CurrentCellAddress.Y == rowIndex) 1051if (this.DataGridView.CurrentCellAddress.Y == rowIndex)
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (2)
603Point ptCurrentCell = this.DataGridView.CurrentCellAddress; 703Point ptCurrentCell = this.DataGridView.CurrentCellAddress;