Implemented interface member:
property
RowIndex
System.Windows.Forms.IDataGridViewCellEventArgs.RowIndex
1 write to RowIndex
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellEventArgs.cs (1)
19
RowIndex
= rowIndex;
61 references to RowIndex
System.Windows.Forms (40)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (4)
1356
if (e.
RowIndex
!= _owner.NewRowIndex
1358
&& CurrencyManager.Position != e.
RowIndex
)
1362
CurrencyManager.Position = e.
RowIndex
;
1366
DataGridViewCellCancelEventArgs dgvce = new(e.ColumnIndex, e.
RowIndex
);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (34)
11548
DataGridViewCell dataGridViewCell = GetCellInternal(e.ColumnIndex, e.
RowIndex
);
11550
if (e.
RowIndex
>= 0 && dataGridViewCell.ClickUnsharesRowInternal(e))
11552
DataGridViewRow dataGridViewRow = Rows[e.
RowIndex
];
11553
GetCellInternal(e.ColumnIndex, e.
RowIndex
).OnClickInternal(e);
11631
DataGridViewCell dataGridViewCell = GetCellInternal(e.ColumnIndex, e.
RowIndex
);
11633
if (e.
RowIndex
>= 0 && dataGridViewCell.ContentClickUnsharesRowInternal(e))
11635
DataGridViewRow dataGridViewRow = Rows[e.
RowIndex
];
11636
GetCellInternal(e.ColumnIndex, e.
RowIndex
).OnContentClickInternal(e);
11655
DataGridViewCell dataGridViewCell = GetCellInternal(e.ColumnIndex, e.
RowIndex
);
11657
if (e.
RowIndex
>= 0 && dataGridViewCell.ContentDoubleClickUnsharesRowInternal(e))
11659
DataGridViewRow dataGridViewRow = Rows[e.
RowIndex
];
11660
GetCellInternal(e.ColumnIndex, e.
RowIndex
).OnContentDoubleClickInternal(e);
11699
DataGridViewCell dataGridViewCell = GetCellInternal(e.ColumnIndex, e.
RowIndex
);
11701
if (e.
RowIndex
>= 0 && dataGridViewCell.DoubleClickUnsharesRowInternal(e))
11703
DataGridViewRow dataGridViewRow = Rows[e.
RowIndex
];
11704
GetCellInternal(e.ColumnIndex, e.
RowIndex
).OnDoubleClickInternal(e);
11765
UpdateCellErrorText(e.ColumnIndex, e.
RowIndex
);
12606
_ptMouseEnteredCell.Y = e.
RowIndex
;
12608
DataGridViewCell dataGridViewCell = GetCellInternal(e.ColumnIndex, e.
RowIndex
);
12610
if (e.
RowIndex
>= 0 && dataGridViewCell.MouseEnterUnsharesRowInternal(e.
RowIndex
))
12612
DataGridViewRow dataGridViewRow = Rows[e.
RowIndex
];
12613
GetCellInternal(e.ColumnIndex, e.
RowIndex
).OnMouseEnterInternal(e.
RowIndex
);
12617
dataGridViewCell.OnMouseEnterInternal(e.
RowIndex
);
12630
DataGridViewCell dataGridViewCell = GetCellInternal(e.ColumnIndex, e.
RowIndex
);
12632
if (e.
RowIndex
>= 0 && dataGridViewCell.MouseLeaveUnsharesRowInternal(e.
RowIndex
))
12634
DataGridViewRow dataGridViewRow = Rows[e.
RowIndex
];
12635
GetCellInternal(e.ColumnIndex, e.
RowIndex
).OnMouseLeaveInternal(e.
RowIndex
);
12639
dataGridViewCell.OnMouseLeaveInternal(e.
RowIndex
);
12841
OnCellCommonChange(e.ColumnIndex, e.
RowIndex
);
13134
OnCellCommonChange(e.ColumnIndex, e.
RowIndex
);
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (2)
434
ptCurrentCell.Y == e.
RowIndex
&&
789
ptCurrentCell.Y == e.
RowIndex
&&
System.Windows.Forms.Tests (17)
System\Windows\Forms\DataGridViewCellContextMenuStripNeededEventArgsTests.cs (1)
17
Assert.Equal(rowIndex, e.
RowIndex
);
System\Windows\Forms\DataGridViewCellEventArgsTests.cs (1)
17
Assert.Equal(rowIndex, e.
RowIndex
);
System\Windows\Forms\DataGridViewCellTests.cs (13)
174
Assert.Equal(0, e.
RowIndex
);
211
Assert.Equal(0, e.
RowIndex
);
313
Assert.Equal(0, e.
RowIndex
);
794
Assert.Equal(0, e.
RowIndex
);
855
Assert.Equal(0, e.
RowIndex
);
1215
Assert.Equal(0, e.
RowIndex
);
2439
Assert.Equal(0, e.
RowIndex
);
3977
Assert.Equal(rowIndex, e.
RowIndex
);
4016
Assert.Equal(rowIndex, e.
RowIndex
);
4059
Assert.Equal(rowIndex, e.
RowIndex
);
4102
Assert.Equal(rowIndex, e.
RowIndex
);
4328
Assert.Equal(0, e.
RowIndex
);
4365
Assert.Equal(0, e.
RowIndex
);
System\Windows\Forms\DataGridViewHeaderCellTests.cs (2)
2390
Assert.Equal(0, e.
RowIndex
);
2427
Assert.Equal(0, e.
RowIndex
);
WinFormsControlsTest (4)
DataGridViewInVirtualModeTest.cs (4)
130
if (e.
RowIndex
>= _customers.Count && e.
RowIndex
!= dataGridView1.Rows.Count - 1)
137
else if (_customerInEdit is not null && e.
RowIndex
< _customers.Count)
140
_customers[e.
RowIndex
] = _customerInEdit;