43 references to NewRowIndex
System.Windows.Forms (43)
winforms\Managed\System\WinForms\DataGridViewBand.cs (2)
869
this.DataGridView.
NewRowIndex
!= -1 &&
870
this.DataGridView.
NewRowIndex
== this.bandIndex &&
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
461
this.DataGridView.
NewRowIndex
!= rowIndex &&
winforms\Managed\System\WinForms\DataGridViewCell.cs (2)
1854
rowIndex != this.DataGridView.
NewRowIndex
&&
2681
(dataGridView.AllowUserToAddRowsInternal && rowIndex > -1 && rowIndex == dataGridView.
NewRowIndex
&& rowIndex != dataGridView.CurrentCellAddress.Y) ||
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (6)
685
if (this.owner.
NewRowIndex
== -1 || e.NewIndex != this.owner.Rows.Count)
803
this.currencyManager.Position == this.owner.
NewRowIndex
&& // condition 4.
804
this.owner.CurrentCellAddress.Y != this.owner.
NewRowIndex
&& // condition 5.
852
Debug.Assert(this.owner.
NewRowIndex
!= -1, "the NewRowIndex is -1 only when AllowUserToAddRows is false");
856
if (this.owner.CurrentCellAddress.Y != this.owner.
NewRowIndex
|| this.owner.IsCurrentRowDirty)
1454
if (e.RowIndex != this.owner.
NewRowIndex
&&
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
234
this.DataGridView.
NewRowIndex
== this.RowIndex &&
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (1)
767
this.DataGridView.
NewRowIndex
!= rowIndex &&
winforms\Managed\System\WinForms\DataGridViewRow.cs (4)
117
this.Index != this.DataGridView.
NewRowIndex
)
329
return this.DataGridView != null && this.DataGridView.
NewRowIndex
== this.Index;
1349
rowIndex != this.DataGridView.
NewRowIndex
)
2130
if (this.owner.DataGridView.AllowUserToAddRows && this.owner.Index == this.owner.DataGridView.
NewRowIndex
)
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (20)
372
if (this.DataGridView.
NewRowIndex
!= -1)
375
Debug.Assert(this.DataGridView.
NewRowIndex
== this.Count - 1);
534
if (this.DataGridView.
NewRowIndex
!= -1)
537
Debug.Assert(this.DataGridView.
NewRowIndex
== this.Count - 1);
572
if (this.DataGridView.
NewRowIndex
!= -1)
575
Debug.Assert(this.DataGridView.
NewRowIndex
== this.Count - 1);
643
if (this.DataGridView.
NewRowIndex
!= -1)
646
Debug.Assert(this.DataGridView.
NewRowIndex
== this.Count - 1);
707
if (this.DataGridView.
NewRowIndex
!= -1)
710
Debug.Assert(this.DataGridView.
NewRowIndex
== this.Count - 1);
875
if (this.DataGridView.
NewRowIndex
!= -1)
878
Debug.Assert(this.DataGridView.
NewRowIndex
== this.Count - 1);
1551
if (this.DataGridView.
NewRowIndex
!= -1 && rowIndex == this.Count)
1598
if (this.DataGridView.
NewRowIndex
!= -1 && rowIndex == this.Count)
1630
Debug.Assert(this.DataGridView.
NewRowIndex
== -1 || rowIndex != this.Count);
1728
if (this.DataGridView.
NewRowIndex
!= -1 && indexDestination == this.Count)
1898
if (this.DataGridView.
NewRowIndex
!= -1 && rowIndex == this.Count)
2295
if (this.DataGridView.
NewRowIndex
== index)
2802
if (this.dataGridView.
NewRowIndex
!= -1)
2805
if (rowIndex == this.dataGridView.
NewRowIndex
)
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (6)
913
else if (this.DataGridView.
NewRowIndex
== rowIndex)
928
else if (this.DataGridView.
NewRowIndex
== rowIndex)
938
else if (this.DataGridView.
NewRowIndex
== rowIndex)
1059
else if (this.DataGridView.
NewRowIndex
== rowIndex)
1074
else if (this.DataGridView.
NewRowIndex
== rowIndex)
1084
else if (this.DataGridView.
NewRowIndex
== rowIndex)