32 references to CurrentCellAddress
System.Windows.Forms (32)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (8)
652
if (_owner.
CurrentCellAddress
.Y == e.NewIndex && _owner.IsCurrentCellInEditMode)
681
Debug.Assert(_owner.
CurrentCellAddress
.X == -1);
720
_owner.
CurrentCellAddress
.Y != _owner.NewRowIndex && // condition 5.
770
if (_owner.
CurrentCellAddress
.Y != _owner.NewRowIndex || _owner.IsCurrentRowDirty)
1216
int columnIndex = _owner.
CurrentCellAddress
.X == -1 ? _owner.FirstDisplayedColumnIndex : _owner.
CurrentCellAddress
.X;
1261
if (rowIndex == _owner.
CurrentCellAddress
.Y && columnIndex == _owner.
CurrentCellAddress
.X)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
14286
Debug.Assert(
CurrentCellAddress
== new Point(-1, -1));
18590
Debug.Assert(
CurrentCellAddress
== new Point(-1, -1));
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (5)
668
Point 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)
417
Point ptCurrentCell = DataGridView.
CurrentCellAddress
;
1503
Point ptCurrentCell = DataGridView.
CurrentCellAddress
;
2441
(dataGridView.AllowUserToAddRowsInternal && rowIndex > -1 && rowIndex == dataGridView.NewRowIndex && rowIndex != dataGridView.
CurrentCellAddress
.Y) ||
2722
Point ptCurrentCell = DataGridView.
CurrentCellAddress
;
3923
if (OwningRow.Index == DataGridView.
CurrentCellAddress
.Y)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (4)
433
Point ptCurrentCell = DataGridView.
CurrentCellAddress
;
520
Point ptCurrentCell = DataGridView.
CurrentCellAddress
;
788
Point ptCurrentCell = DataGridView.
CurrentCellAddress
;
1072
Point ptCurrentCell = DataGridView.
CurrentCellAddress
;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
1684
Point ptCurrentCell = DataGridView.
CurrentCellAddress
;
1933
Point ptCurrentCell = DataGridView.
CurrentCellAddress
;
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
888
Point ptCurrentCell = DataGridView!.
CurrentCellAddress
;
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (1)
959
Point ptCurrentCell = DataGridView!.
CurrentCellAddress
;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (2)
773
if (DataGridView.
CurrentCellAddress
.Y == rowIndex)
929
if (DataGridView.
CurrentCellAddress
.Y == rowIndex)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (2)
578
Point ptCurrentCell = DataGridView.
CurrentCellAddress
;
675
Point ptCurrentCell = DataGridView!.
CurrentCellAddress
;