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