228 writes to RowCount
System.Windows.Forms.Tests (227)
System\Windows\Forms\AccessibleObjects\DataGridViewRowsAccessibleObjectTests.cs (2)
15RowCount = 5, 45RowCount = 5,
System\Windows\Forms\DataGridViewCellTests.cs (9)
147RowCount = 1, 165RowCount = 1, 199RowCount = 1, 785RowCount = 1, 817RowCount = 1, 842RowCount = 1, 878RowCount = 1, 4319RowCount = 1, 4353RowCount = 1,
System\Windows\Forms\DataGridViewColumnCollectionTests.cs (1)
550RowCount = 1
System\Windows\Forms\DataGridViewColumnTests.cs (1)
1058RowCount = 1
System\Windows\Forms\DataGridViewElementTests.cs (11)
59RowCount = 1, 89RowCount = 1, 111RowCount = 1, 141RowCount = 1, 163RowCount = 1, 193RowCount = 1, 215RowCount = 1, 245RowCount = 1, 286RowCount = 1, 317RowCount = 1, 339RowCount = 1,
System\Windows\Forms\DataGridViewHeaderCellTests.cs (2)
2378RowCount = 1, 2412RowCount = 1,
System\Windows\Forms\DataGridViewRowTests.cs (164)
56RowCount = 1 73RowCount = 1, 107RowCount = 1, 142RowCount = 1 194RowCount = 1 215RowCount = 1 267RowCount = 1 314RowCount = 1 341RowCount = 1 368RowCount = 1 381RowCount = 1 445RowCount = 1 472RowCount = 1 495RowCount = 1 567RowCount = 1 579RowCount = 1 591RowCount = 1 644RowCount = 1 665RowCount = 1 685RowCount = 1 706RowCount = 1 744RowCount = 1 756RowCount = 1 768RowCount = 1 780RowCount = 1 815RowCount = 1 835RowCount = 1 885RowCount = 1 897RowCount = 1 909RowCount = 1, 940RowCount = 1, 975RowCount = 1 1020RowCount = 1 1041RowCount = 1 1062RowCount = 1 1108RowCount = 1 1323RowCount = 1 1392RowCount = 1, 1410RowCount = 1, 1439RowCount = 1, 1457RowCount = 1, 1572RowCount = 1 1609RowCount = 1 1649RowCount = 1 1686RowCount = 1 1725RowCount = 1 1788RowCount = 1, 1805RowCount = 1, 1837RowCount = 1, 1956RowCount = 1, 1977RowCount = 1 2050RowCount = 1 2196RowCount = 1 2208RowCount = 2 2220RowCount = 1 2232RowCount = 2 2244RowCount = 1 2257RowCount = 1, 2274RowCount = 1, 2306RowCount = 1, 2421RowCount = 1, 2444RowCount = 1 2498RowCount = 1 2525RowCount = 1, 2539RowCount = 1, 2578RowCount = 1, 2604RowCount = 1, 2651RowCount = 1 2681RowCount = 1 2722RowCount = 1 2736RowCount = 1, 2750RowCount = 1, 2763RowCount = 1 2818RowCount = 1, 2839RowCount = 1 2881RowCount = 1, 2911RowCount = 1, 2923RowCount = 1 2951RowCount = 1 3048RowCount = 1 3060RowCount = 1 3072RowCount = 1 3084RowCount = 1 3096RowCount = 1 3141RowCount = 1 3162RowCount = 1 3184RowCount = 1 3205RowCount = 1 3226RowCount = 1 3238RowCount = 1 3283RowCount = 2 3311RowCount = 2 3352RowCount = 1 3369RowCount = 1 3721RowCount = 1, 4017RowCount = 2 4123RowCount = 1 4205RowCount = 1 4228RowCount = 1 4244RowCount = 1 4271RowCount = 2 4297RowCount = 1, 4331RowCount = 1, 4368RowCount = 1 4380RowCount = 1 4406RowCount = 2 4425RowCount = 1, 4456RowCount = 1, 4492RowCount = 1 4504RowCount = 1 4523RowCount = 2 4537RowCount = 2 4562RowCount = 1 4590RowCount = 2 4613RowCount = 2, 4637RowCount = 2, 4663RowCount = 2, 4687RowCount = 2, 4711RowCount = 2, 4735RowCount = 2, 4759RowCount = 2, 4784RowCount = 2, 4805RowCount = 2 4852RowCount = 2 4882RowCount = 2 4922RowCount = 2 4954RowCount = 2 4968RowCount = 2 4982RowCount = 2 5008RowCount = 2 5036RowCount = 2 5059RowCount = 2, 5083RowCount = 2, 5109RowCount = 2, 5133RowCount = 2, 5157RowCount = 2, 5181RowCount = 2, 5205RowCount = 2, 5230RowCount = 2, 5249RowCount = 2 5263RowCount = 2 5277RowCount = 2 5291RowCount = 2 5317RowCount = 2 5336RowCount = 2 5356RowCount = 2 5379RowCount = 2, 5403RowCount = 2, 5429RowCount = 2, 5453RowCount = 2, 5477RowCount = 2, 5501RowCount = 2, 5525RowCount = 2, 5550RowCount = 2, 5569RowCount = 2, 5584RowCount = 2, 5599RowCount = 2, 5614RowCount = 2, 5640RowCount = 2 5656RowCount = 2 5674RowCount = 2 5702RowCount = 1 5736RowCount = 1, 5749RowCount = 1
System\Windows\Forms\DataGridViewSelectedCellCollectionTests.cs (12)
28RowCount = 3, 48RowCount = 3, 79RowCount = 3, 104RowCount = 3, 150RowCount = 3, 200RowCount = 3, 222RowCount = 3, 255RowCount = 3, 327RowCount = 3, 364RowCount = 3, 405RowCount = 3, 456RowCount = 3,
System\Windows\Forms\DataGridViewSelectedColumnCollectionTests.cs (12)
29RowCount = 1 53RowCount = 1 88RowCount = 1 117RowCount = 1 167RowCount = 1 221RowCount = 1 247RowCount = 1 284RowCount = 1 360RowCount = 1 401RowCount = 1 446RowCount = 1 501RowCount = 1
System\Windows\Forms\DataGridViewSelectedRowCollectionTests.cs (12)
29RowCount = 3 48RowCount = 3 78RowCount = 3 102RowCount = 3 147RowCount = 3 196RowCount = 3 217RowCount = 3 249RowCount = 3 320RowCount = 3 356RowCount = 3 396RowCount = 3 446RowCount = 3
System\Windows\Forms\DataGridViewTests.Rendering.cs (1)
25RowCount = 1,
WinFormsControlsTest (1)
DataGridViewInVirtualModeTest.cs (1)
51dataGridView1.RowCount = _customers.Count + 1; // Add 1 as a new edit row
5 references to RowCount
System.Windows.Forms.Tests (4)
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (4)
523Assert.Equal(0, dataGridView.RowCount); // DGV is empty 540Assert.Equal(1, dataGridView.RowCount); // One new row for editing, it will be in focus instead of whole DGV 1673Assert.Equal(1, dataGridView.RowCount); 1687Assert.Equal(0, dataGridView.RowCount);
WinFormsControlsTest (1)
DataGridViewInVirtualModeTest.cs (1)
57if (e.RowIndex == dataGridView1.RowCount - 1)