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