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)
19RowIndex = rowIndex;
65 references to RowIndex
System.Windows.Forms (40)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (4)
1356if (e.RowIndex != _owner.NewRowIndex 1358&& CurrencyManager.Position != e.RowIndex) 1362CurrencyManager.Position = e.RowIndex; 1366DataGridViewCellCancelEventArgs dgvce = new(e.ColumnIndex, e.RowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (34)
11545DataGridViewCell dataGridViewCell = GetCellInternal(e.ColumnIndex, e.RowIndex); 11547if (e.RowIndex >= 0 && dataGridViewCell.ClickUnsharesRowInternal(e)) 11550_ = Rows[e.RowIndex]; 11551GetCellInternal(e.ColumnIndex, e.RowIndex).OnClickInternal(e); 11629DataGridViewCell dataGridViewCell = GetCellInternal(e.ColumnIndex, e.RowIndex); 11631if (e.RowIndex >= 0 && dataGridViewCell.ContentClickUnsharesRowInternal(e)) 11634_ = Rows[e.RowIndex]; 11635GetCellInternal(e.ColumnIndex, e.RowIndex).OnContentClickInternal(e); 11654DataGridViewCell dataGridViewCell = GetCellInternal(e.ColumnIndex, e.RowIndex); 11656if (e.RowIndex >= 0 && dataGridViewCell.ContentDoubleClickUnsharesRowInternal(e)) 11659_ = Rows[e.RowIndex]; 11660GetCellInternal(e.ColumnIndex, e.RowIndex).OnContentDoubleClickInternal(e); 11699DataGridViewCell dataGridViewCell = GetCellInternal(e.ColumnIndex, e.RowIndex); 11701if (e.RowIndex >= 0 && dataGridViewCell.DoubleClickUnsharesRowInternal(e)) 11704_ = Rows[e.RowIndex]; 11705GetCellInternal(e.ColumnIndex, e.RowIndex).OnDoubleClickInternal(e); 11766UpdateCellErrorText(e.ColumnIndex, e.RowIndex); 12610_ptMouseEnteredCell.Y = e.RowIndex; 12612DataGridViewCell dataGridViewCell = GetCellInternal(e.ColumnIndex, e.RowIndex); 12614if (e.RowIndex >= 0 && dataGridViewCell.MouseEnterUnsharesRowInternal(e.RowIndex)) 12617_ = Rows[e.RowIndex]; 12618GetCellInternal(e.ColumnIndex, e.RowIndex).OnMouseEnterInternal(e.RowIndex); 12622dataGridViewCell.OnMouseEnterInternal(e.RowIndex); 12635DataGridViewCell dataGridViewCell = GetCellInternal(e.ColumnIndex, e.RowIndex); 12637if (e.RowIndex >= 0 && dataGridViewCell.MouseLeaveUnsharesRowInternal(e.RowIndex)) 12640_ = Rows[e.RowIndex]; 12641GetCellInternal(e.ColumnIndex, e.RowIndex).OnMouseLeaveInternal(e.RowIndex); 12645dataGridViewCell.OnMouseLeaveInternal(e.RowIndex); 12849OnCellCommonChange(e.ColumnIndex, e.RowIndex); 13142OnCellCommonChange(e.ColumnIndex, e.RowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (2)
434ptCurrentCell.Y == e.RowIndex && 790ptCurrentCell.Y == e.RowIndex &&
System.Windows.Forms.Tests (21)
System\Windows\Forms\DataGridViewCellContextMenuStripNeededEventArgsTests.cs (1)
19Assert.Equal(rowIndex, e.RowIndex);
System\Windows\Forms\DataGridViewCellEventArgsTests.cs (1)
19Assert.Equal(rowIndex, e.RowIndex);
System\Windows\Forms\DataGridViewCellTests.cs (13)
176Assert.Equal(0, e.RowIndex); 213Assert.Equal(0, e.RowIndex); 315Assert.Equal(0, e.RowIndex); 796Assert.Equal(0, e.RowIndex); 857Assert.Equal(0, e.RowIndex); 1217Assert.Equal(0, e.RowIndex); 2441Assert.Equal(0, e.RowIndex); 3979Assert.Equal(rowIndex, e.RowIndex); 4018Assert.Equal(rowIndex, e.RowIndex); 4061Assert.Equal(rowIndex, e.RowIndex); 4104Assert.Equal(rowIndex, e.RowIndex); 4330Assert.Equal(0, e.RowIndex); 4367Assert.Equal(0, e.RowIndex);
System\Windows\Forms\DataGridViewHeaderCellTests.cs (2)
2389Assert.Equal(0, e.RowIndex); 2426Assert.Equal(0, e.RowIndex);
System\Windows\Forms\DataGridViewLinkCellTests.cs (4)
527if (e.ColumnIndex == 0 && e.RowIndex == 0) 532if (e.ColumnIndex == 0 && e.RowIndex == 0) 555if (e.ColumnIndex == 0 && e.RowIndex == 0) 560if (e.ColumnIndex == 0 && e.RowIndex == 0)
WinFormsControlsTest (4)
DataGridViewInVirtualModeTest.cs (4)
130if (e.RowIndex >= _customers.Count && e.RowIndex != dataGridView1.Rows.Count - 1) 137else if (_customerInEdit is not null && e.RowIndex < _customers.Count) 140_customers[e.RowIndex] = _customerInEdit;