228 writes to RowCount
System.Windows.Forms.Tests (227)
System\Windows\Forms\AccessibleObjects\DataGridViewRowsAccessibleObjectTests.cs (2)
13RowCount = 5, 43RowCount = 5,
System\Windows\Forms\DataGridViewCellTests.cs (9)
145RowCount = 1, 163RowCount = 1, 197RowCount = 1, 783RowCount = 1, 815RowCount = 1, 840RowCount = 1, 876RowCount = 1, 4318RowCount = 1, 4352RowCount = 1,
System\Windows\Forms\DataGridViewColumnCollectionTests.cs (1)
548RowCount = 1
System\Windows\Forms\DataGridViewColumnTests.cs (1)
1057RowCount = 1
System\Windows\Forms\DataGridViewElementTests.cs (11)
57RowCount = 1, 87RowCount = 1, 109RowCount = 1, 139RowCount = 1, 161RowCount = 1, 191RowCount = 1, 213RowCount = 1, 243RowCount = 1, 284RowCount = 1, 315RowCount = 1, 337RowCount = 1,
System\Windows\Forms\DataGridViewHeaderCellTests.cs (2)
2379RowCount = 1, 2413RowCount = 1,
System\Windows\Forms\DataGridViewRowTests.cs (164)
54RowCount = 1 71RowCount = 1, 105RowCount = 1, 140RowCount = 1 192RowCount = 1 213RowCount = 1 265RowCount = 1 312RowCount = 1 339RowCount = 1 366RowCount = 1 379RowCount = 1 443RowCount = 1 470RowCount = 1 493RowCount = 1 565RowCount = 1 577RowCount = 1 589RowCount = 1 642RowCount = 1 663RowCount = 1 683RowCount = 1 704RowCount = 1 743RowCount = 1 755RowCount = 1 767RowCount = 1 779RowCount = 1 814RowCount = 1 834RowCount = 1 884RowCount = 1 896RowCount = 1 908RowCount = 1, 939RowCount = 1, 974RowCount = 1 1019RowCount = 1 1040RowCount = 1 1061RowCount = 1 1107RowCount = 1 1322RowCount = 1 1391RowCount = 1, 1409RowCount = 1, 1438RowCount = 1, 1456RowCount = 1, 1571RowCount = 1 1608RowCount = 1 1648RowCount = 1 1685RowCount = 1 1724RowCount = 1 1787RowCount = 1, 1804RowCount = 1, 1836RowCount = 1, 1955RowCount = 1, 1976RowCount = 1 2049RowCount = 1 2195RowCount = 1 2207RowCount = 2 2219RowCount = 1 2231RowCount = 2 2243RowCount = 1 2256RowCount = 1, 2273RowCount = 1, 2305RowCount = 1, 2420RowCount = 1, 2443RowCount = 1 2497RowCount = 1 2524RowCount = 1, 2538RowCount = 1, 2577RowCount = 1, 2603RowCount = 1, 2650RowCount = 1 2680RowCount = 1 2721RowCount = 1 2735RowCount = 1, 2749RowCount = 1, 2762RowCount = 1 2817RowCount = 1, 2838RowCount = 1 2880RowCount = 1, 2910RowCount = 1, 2922RowCount = 1 2950RowCount = 1 3047RowCount = 1 3059RowCount = 1 3071RowCount = 1 3083RowCount = 1 3095RowCount = 1 3140RowCount = 1 3161RowCount = 1 3183RowCount = 1 3204RowCount = 1 3225RowCount = 1 3237RowCount = 1 3282RowCount = 2 3310RowCount = 2 3351RowCount = 1 3368RowCount = 1 3720RowCount = 1, 4016RowCount = 2 4122RowCount = 1 4204RowCount = 1 4227RowCount = 1 4243RowCount = 1 4270RowCount = 2 4296RowCount = 1, 4330RowCount = 1, 4367RowCount = 1 4379RowCount = 1 4405RowCount = 2 4424RowCount = 1, 4455RowCount = 1, 4491RowCount = 1 4503RowCount = 1 4522RowCount = 2 4536RowCount = 2 4561RowCount = 1 4589RowCount = 2 4612RowCount = 2, 4636RowCount = 2, 4662RowCount = 2, 4686RowCount = 2, 4710RowCount = 2, 4734RowCount = 2, 4758RowCount = 2, 4783RowCount = 2, 4804RowCount = 2 4851RowCount = 2 4881RowCount = 2 4921RowCount = 2 4953RowCount = 2 4967RowCount = 2 4981RowCount = 2 5007RowCount = 2 5035RowCount = 2 5058RowCount = 2, 5082RowCount = 2, 5108RowCount = 2, 5132RowCount = 2, 5156RowCount = 2, 5180RowCount = 2, 5204RowCount = 2, 5229RowCount = 2, 5248RowCount = 2 5262RowCount = 2 5276RowCount = 2 5290RowCount = 2 5316RowCount = 2 5335RowCount = 2 5355RowCount = 2 5378RowCount = 2, 5402RowCount = 2, 5428RowCount = 2, 5452RowCount = 2, 5476RowCount = 2, 5500RowCount = 2, 5524RowCount = 2, 5549RowCount = 2, 5568RowCount = 2, 5583RowCount = 2, 5598RowCount = 2, 5613RowCount = 2, 5639RowCount = 2 5655RowCount = 2 5673RowCount = 2 5701RowCount = 1 5735RowCount = 1, 5748RowCount = 1
System\Windows\Forms\DataGridViewSelectedCellCollectionTests.cs (12)
26RowCount = 3, 46RowCount = 3, 77RowCount = 3, 102RowCount = 3, 148RowCount = 3, 198RowCount = 3, 220RowCount = 3, 253RowCount = 3, 325RowCount = 3, 362RowCount = 3, 403RowCount = 3, 454RowCount = 3,
System\Windows\Forms\DataGridViewSelectedColumnCollectionTests.cs (12)
27RowCount = 1 51RowCount = 1 86RowCount = 1 115RowCount = 1 165RowCount = 1 219RowCount = 1 245RowCount = 1 282RowCount = 1 358RowCount = 1 399RowCount = 1 444RowCount = 1 499RowCount = 1
System\Windows\Forms\DataGridViewSelectedRowCollectionTests.cs (12)
27RowCount = 3 46RowCount = 3 76RowCount = 3 100RowCount = 3 145RowCount = 3 194RowCount = 3 215RowCount = 3 247RowCount = 3 318RowCount = 3 354RowCount = 3 394RowCount = 3 444RowCount = 3
System\Windows\Forms\DataGridViewTests.Rendering.cs (1)
23RowCount = 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)
521Assert.Equal(0, dataGridView.RowCount); // DGV is empty 538Assert.Equal(1, dataGridView.RowCount); // One new row for editing, it will be in focus instead of whole DGV 1671Assert.Equal(1, dataGridView.RowCount); 1685Assert.Equal(0, dataGridView.RowCount);
WinFormsControlsTest (1)
DataGridViewInVirtualModeTest.cs (1)
57if (e.RowIndex == dataGridView1.RowCount - 1)