367 references to Add
Accessibility_Core_App (2)
CommonControl1.cs (1)
46
listView1.Groups[0].Items.
Add
(listView1.Items[0]);
DataBindingExample.cs (1)
104
listView1.Items.
Add
(item);
System.Windows.Forms (6)
System\Windows\Forms\Controls\ListView\ListView.ListViewItemCollection.cs (5)
136
return IndexOf(
Add
(listViewItem));
155
Add
(item);
180
Add
(item);
195
Add
(item);
210
Add
(item);
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
447
value.Items.
Add
(this);
System.Windows.Forms.Tests (354)
SerializableTypesTests.cs (1)
132
listViewGroup.Items.
Add
(new ListViewItem("Item"));
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (61)
86
listView.Items.
Add
(new ListViewItem());
93
listView.Items.
Add
(item);
94
listView.Items.
Add
(item2);
116
listView.Items.
Add
(new ListViewItem());
123
listView.Items.
Add
(item);
124
listView.Items.
Add
(item2);
140
listView.Items.
Add
(new ListViewItem());
147
listView.Items.
Add
(item);
148
listView.Items.
Add
(item2);
164
listView.Items.
Add
(new ListViewItem());
165
listView.Items.
Add
(new ListViewItem());
181
listView.Items.
Add
(new ListViewItem());
182
listView.Items.
Add
(new ListViewItem());
296
listView.Items.
Add
(listViewItem1);
297
listView.Items.
Add
(listViewItem2);
420
listView.Items.
Add
(listViewItem1);
421
listView.Items.
Add
(listViewItem2);
422
listView.Items.
Add
(listViewItem3);
543
listView.Items.
Add
(listViewItem1);
544
listView.Items.
Add
(listViewItem2);
545
listView.Items.
Add
(listViewItem3);
614
listView.Items.
Add
(listViewItem1);
615
listView.Items.
Add
(listViewItem2);
616
listView.Items.
Add
(listViewItem3);
670
listView.Items.
Add
(listViewItem1);
671
listView.Items.
Add
(listViewItem2);
672
listView.Items.
Add
(listViewItem3);
752
listView.Items.
Add
(listViewItem1);
753
listView.Items.
Add
(listViewItem2);
754
listView.Items.
Add
(listViewItem3);
805
listView.Groups[0].Items.
Add
(new ListViewItem());
884
listView.Items.
Add
(listViewItem1);
885
listView.Items.
Add
(listViewItem2);
886
listView.Items.
Add
(listViewItem3);
930
listView.Items.
Add
(listItem1);
931
listView.Items.
Add
(listItem2);
932
listView.Items.
Add
(listItem3);
933
listView.Items.
Add
(listItem4);
958
listView.Items.
Add
(listItem1);
976
listView.Items.
Add
(listItem1);
1427
listView.Items.
Add
(listItem1);
1428
listView.Items.
Add
(listItem2);
1429
listView.Items.
Add
(listItem3);
1430
listView.Items.
Add
(listItem4);
1490
listView.Items.
Add
(listViewItem1);
1491
listView.Items.
Add
(listViewItem2);
1492
listView.Groups[0].Items.
Add
(listViewItem1);
1493
listView.Groups[3].Items.
Add
(listViewItem2);
1575
listView.Items.
Add
(listViewItem1);
1576
listView.Items.
Add
(listViewItem2);
1577
listView.Groups[0].Items.
Add
(listViewItem1);
1578
listView.Groups[3].Items.
Add
(listViewItem2);
1676
listView.Items.
Add
(listViewItem1);
1677
listView.Items.
Add
(listViewItem2);
1678
listView.Groups[0].Items.
Add
(listViewItem1);
1679
listView.Groups[3].Items.
Add
(listViewItem2);
1733
listView.Items.
Add
(listViewItem1);
1734
listView.Items.
Add
(listViewItem2);
1735
listViewGroupWithItems1.Items.
Add
(listViewItem1);
1736
listViewGroupWithItems2.Items.
Add
(listViewItem2);
1737
listViewGroupWithInvisibleItems.Items.
Add
(listViewItem3);
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (74)
21
listGroup.Items.
Add
(new ListViewItem());
39
listGroup.Items.
Add
(new ListViewItem());
54
listGroup.Items.
Add
(new ListViewItem());
85
listGroup.Items.
Add
(new ListViewItem());
86
list.Items.
Add
(new ListViewItem());
118
listGroup.Items.
Add
(new ListViewItem());
146
items.
Add
(new ListViewItem(groups[0]));
147
items.
Add
(new ListViewItem(groups[0]));
148
items.
Add
(new ListViewItem());
149
items.
Add
(new ListViewItem(groups[1]));
150
items.
Add
(new ListViewItem(groups[1]));
151
items.
Add
(new ListViewItem(groups[1]));
215
items.
Add
(new ListViewItem(groups[0]));
216
items.
Add
(new ListViewItem(groups[0]));
217
items.
Add
(new ListViewItem(groups[0]));
218
items.
Add
(new ListViewItem(groups[1]));
219
items.
Add
(new ListViewItem(groups[1]));
220
items.
Add
(new ListViewItem(groups[1]));
284
list.Items.
Add
(listItem1);
285
list.Items.
Add
(listItem2);
328
listView.Items.
Add
(new ListViewItem("a", group));
379
items.
Add
(new ListViewItem(groups[0]));
380
items.
Add
(new ListViewItem(groups[0]));
381
items.
Add
(new ListViewItem());
382
items.
Add
(new ListViewItem(groups[1]));
383
items.
Add
(new ListViewItem(groups[1]));
384
items.
Add
(new ListViewItem(groups[1]));
385
items.
Add
(new ListViewItem(groups[1]));
386
items.
Add
(new ListViewItem(groups[1]));
474
items.
Add
(new ListViewItem(groups[0]));
475
items.
Add
(new ListViewItem(groups[0]));
476
items.
Add
(new ListViewItem());
477
items.
Add
(new ListViewItem(groups[1]));
478
items.
Add
(new ListViewItem(groups[1]));
479
items.
Add
(new ListViewItem(groups[1]));
480
items.
Add
(new ListViewItem(groups[1]));
481
items.
Add
(new ListViewItem(groups[1]));
510
items.
Add
(new ListViewItem(groups[0]));
511
items.
Add
(new ListViewItem(groups[0]));
512
items.
Add
(new ListViewItem());
513
items.
Add
(new ListViewItem(groups[1]));
514
items.
Add
(new ListViewItem(groups[1]));
515
items.
Add
(new ListViewItem(groups[1]));
595
items.
Add
(new ListViewItem(groups[0]));
596
items.
Add
(new ListViewItem());
597
items.
Add
(new ListViewItem(groups[1]));
598
items.
Add
(new ListViewItem(groups[1]));
683
listView.Items.
Add
(listViewItem);
713
listView.Items.
Add
(new ListViewItem("Item1", lvgroup1));
722
listView.Items.
Add
(new ListViewItem("Item2", lvgroup2));
747
listView.Items.
Add
(new ListViewItem("Group Item 1", listViewGroup));
748
listView.Items.
Add
(new ListViewItem("Group Item 2", listViewGroup));
891
listView.Items.
Add
(listViewItem1);
892
listView.Items.
Add
(listViewItem2);
893
listView.Groups[0].Items.
Add
(listViewItem1);
894
listView.Groups[3].Items.
Add
(listViewItem2);
976
listView.Items.
Add
(listView.Groups[0].Items[0]);
977
listView.Items.
Add
(listView.Groups[0].Items[3]);
1045
listView.Items.
Add
(listView.Groups[0].Items[0]);
1046
listView.Items.
Add
(listView.Groups[0].Items[3]);
1115
listView.Items.
Add
(listView.Groups[0].Items[0]);
1116
listView.Items.
Add
(listView.Groups[0].Items[3]);
1220
listView.Items.
Add
(new ListViewItem());
1242
listView.Items.
Add
(listViewItem1);
1243
listView.Items.
Add
(listViewItem2);
1244
listViewGroupWithItems1.Items.
Add
(listViewItem1);
1245
listViewGroupWithItems2.Items.
Add
(listViewItem2);
1246
listViewGroupWithInvisibleItems.Items.
Add
(listViewItem3);
1270
listView.Items.
Add
(listItem1);
1271
listView.Items.
Add
(listItem2);
1272
listView.Items.
Add
(listItem3);
1333
listView.Items.
Add
(item);
1458
listView.Items.
Add
(listViewItem1);
1459
listView.Items.
Add
(listViewItem2);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (36)
18
list.Items.
Add
(listItem);
37
list.Items.
Add
(listItem);
78
listviewGroup.Items.
Add
(listViewItem1);
80
listView.Items.
Add
(listViewItem2);
95
list.Items.
Add
(listItem);
656
listView.Items.
Add
(listItem1);
800
listView.Items.
Add
(listViewItem);
989
listView.Items.
Add
(listView.Groups[0].Items[0]);
990
listView.Items.
Add
(listView.Groups[0].Items[3]);
1238
listView.Items.
Add
(listItem1);
1239
listView.Items.
Add
(listItem2);
1240
listView.Items.
Add
(listItem3);
1241
listView.Items.
Add
(listItem4);
1291
listView.Items.
Add
(new ListViewItem("Item 1"));
1292
listView.Items.
Add
(new ListViewItem("Item 2"));
1293
listView.Items.
Add
(new ListViewItem("Item 3"));
1350
listView.Items.
Add
(new ListViewItem("Item 1"));
1351
listView.Items.
Add
(new ListViewItem("Item 2", group: listView.Groups[0]));
1352
listView.Items.
Add
(new ListViewItem("Item 3"));
1408
listView.Items.
Add
(new ListViewItem("Item 1"));
1409
listView.Items.
Add
(new ListViewItem("Item 2", group: listView.Groups[0]));
1410
listView.Items.
Add
(new ListViewItem("Item 3"));
1455
listView.Items.
Add
(new ListViewItem("Item 1"));
1456
listView.Items.
Add
(new ListViewItem("Item 2"));
1457
listView.Items.
Add
(new ListViewItem("Item 3"));
1625
listView.Items.
Add
(listViewItem);
1659
listView.Items.
Add
(new ListViewItem("Test"));
1700
listView.Items.
Add
(new ListViewItem("Test"));
1847
listView.Items.
Add
(item);
1861
listView.Items.
Add
(item);
1875
listView.Items.
Add
(item);
1889
listView.Items.
Add
(item);
1903
listView.Items.
Add
(item);
1972
listView.Items.
Add
(listViewItem1);
1973
listView.Items.
Add
(listViewItem2);
1974
listView.Items.
Add
(listViewItem3);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemBaseAccessibleObjectTests.cs (25)
24
control.Items.
Add
(item);
35
control.Items.
Add
(item);
46
control.Items.
Add
(item);
59
control.Items.
Add
(item);
71
control.Items.
Add
(item);
82
control.Items.
Add
(item);
99
control.Items.
Add
(item);
117
control.Items.
Add
(item);
134
control.Items.
Add
(item);
152
control.Items.
Add
(item);
182
control.Items.
Add
(item);
201
control.Items.
Add
(item);
219
control.Items.
Add
(item);
232
control.Items.
Add
(item);
245
control.Items.
Add
(item);
258
control.Items.
Add
(item);
271
control.Items.
Add
(item);
287
listView.Items.
Add
(item);
303
listView.Items.
Add
(item);
322
listView.Items.
Add
(item);
340
control.Items.
Add
(item);
351
control.Items.
Add
(item);
364
control.Items.
Add
(item);
377
control.Items.
Add
(item);
394
listView.Items.
Add
(item);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemDetailsAccessibleObjectTests.cs (8)
24
control.Items.
Add
(item);
38
control.Items.
Add
(item);
56
control.Items.
Add
(item);
70
control.Items.
Add
(item);
88
control.Items.
Add
(item);
101
control.Items.
Add
(item);
116
control.Items.
Add
(item);
152
listView.Items.
Add
(listViewItem);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemImageAccessibleObjectTests.cs (2)
25
list.Items.
Add
(listViewItem);
51
list.Items.
Add
(listViewItem);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemListAccessibleObjectTests.cs (2)
29
control.Items.
Add
(new ListViewItem());
40
control.Items.
Add
(new ListViewItem());
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemWithImageAccessibleObjectTests.cs (6)
17
control.Items.
Add
(new ListViewItem());
45
control.Items.
Add
(listViewItem);
63
control.Items.
Add
(new ListViewItem());
85
control.Items.
Add
(listViewItem);
99
control.Items.
Add
(new ListViewItem());
122
control.Items.
Add
(listViewItem);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (20)
35
list.Items.
Add
(listViewItem1);
72
list.Items.
Add
(listViewItem1);
647
list.Items.
Add
(listViewItem1);
694
list.Items.
Add
(listViewItem1);
735
list.Items.
Add
(listViewItem1);
771
list.Items.
Add
(listViewItem1);
878
listView.Items.
Add
(new ListViewItem("Test item 11"));
900
listView.Items.
Add
(new ListViewItem("Test item 11"));
915
listView.Items.
Add
(listViewItem);
928
listView.Items.
Add
(listViewItem);
943
listView.Items.
Add
(listViewItem);
972
listView.Items.
Add
(listViewItem);
1053
listview.Items.
Add
(listViewItem);
1065
listView.Items.
Add
(listViewItem);
1081
listView.Items.
Add
(listViewItem);
1097
listView.Items.
Add
(listViewItem);
1113
listView.Items.
Add
(listViewItem);
1129
listView.Items.
Add
(listViewItem);
1145
listView.Items.
Add
(listViewItem);
1161
listView.Items.
Add
(listViewItem);
System\Windows\Forms\AccessibleObjects\ListViewLabelEditAccessibleObjectTests.cs (1)
166
listView.Items.
Add
(item);
System\Windows\Forms\DrawListViewItemEventArgsTests.cs (3)
86
listView.Items.
Add
(listViewItem);
93
listView.Items.
Add
(subItemsItem);
101
fullRowSelectListView.Items.
Add
(fullRowSelectListViewItem);
System\Windows\Forms\ListView.ListViewItemCollectionTests.cs (6)
45
collection.
Add
(child1);
46
collection.
Add
(child2);
47
collection.
Add
(child3);
84
collection.
Add
(child1);
85
collection.
Add
(child2);
86
collection.
Add
(child3);
System\Windows\Forms\ListViewGroupCollectionTests.cs (24)
82
group.Items.
Add
(new ListViewItem());
83
group.Items.
Add
(item);
84
listView.Items.
Add
(item);
103
group.Items.
Add
(new ListViewItem());
104
group.Items.
Add
(item);
105
listView.Items.
Add
(item);
161
group.Items.
Add
(item);
162
otherListView.Items.
Add
(item);
411
group.Items.
Add
(new ListViewItem());
412
group.Items.
Add
(item);
413
listView.Items.
Add
(item);
430
group1.Items.
Add
(new ListViewItem());
431
group1.Items.
Add
(item);
432
listView.Items.
Add
(item);
492
group.Items.
Add
(item);
493
otherListView.Items.
Add
(item);
772
group.Items.
Add
(new ListViewItem());
773
group.Items.
Add
(item);
774
listView.Items.
Add
(item);
791
group.Items.
Add
(new ListViewItem());
792
group.Items.
Add
(item);
793
listView.Items.
Add
(item);
848
group.Items.
Add
(item);
849
otherListView.Items.
Add
(item);
System\Windows\Forms\ListViewGroupConverterTests.cs (9)
34
listView.Items.
Add
(item1);
41
listViewWithGroups.Items.
Add
(item2);
75
listView.Items.
Add
(item);
93
listView.Items.
Add
(item1);
99
listViewWithGroups.Items.
Add
(item2);
147
listView.Items.
Add
(item1);
154
listViewWithGroups.Items.
Add
(item2);
263
listView.Items.
Add
(item1);
270
listViewWithGroups.Items.
Add
(item2);
System\Windows\Forms\ListViewGroupTests.cs (6)
1326
groupWithItems.Items.
Add
(new ListViewItem("text"));
1398
group.Items.
Add
(new ListViewItem("text"));
1431
listView.Items.
Add
(listViewItem);
1432
listViewGroup.Items.
Add
(listViewItemGroup);
1446
listView.Items.
Add
(listViewItem);
1447
listViewGroup.Items.
Add
(listViewItem);
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (3)
127
listView.Items.
Add
(listViewItem);
128
listViewGroup.Items.
Add
(listViewItem);
763
listView.Items.
Add
(listViewItem);
System\Windows\Forms\ListViewItemTests.cs (11)
863
listView.Items.
Add
(item);
892
listView.Items.
Add
(item);
920
listView.Items.
Add
(item);
950
listView.Items.
Add
(item);
970
listView.Items.
Add
(item);
1004
listView.Items.
Add
(item);
1019
listView.Items.
Add
(item);
1035
listView.Items.
Add
(item);
1084
listView.Items.
Add
(item);
1094
listView.Items.
Add
(item);
1108
listView.Items.
Add
(item);
System\Windows\Forms\ListViewSubItemTests.cs (10)
87
listView.Items.
Add
(item);
123
listView.Items.
Add
(item);
172
listView.Items.
Add
(item);
208
listView.Items.
Add
(item);
223
listView.Items.
Add
(item);
259
listView.Items.
Add
(item);
297
listView.Items.
Add
(item);
336
listView.Items.
Add
(item);
372
listView.Items.
Add
(item);
423
listView.Items.
Add
(item);
System\Windows\Forms\ListViewTests.cs (46)
876
listView.Items.
Add
(item1);
877
listView.Items.
Add
(item2);
1049
listView.Items.
Add
(item1);
1050
listView.Items.
Add
(item2);
1246
control.Items.
Add
(value);
1288
control.Items.
Add
(value);
4086
control.Items.
Add
(item1);
4087
control.Items.
Add
(item2);
4110
control.Items.
Add
(item1);
4111
control.Items.
Add
(item2);
4156
control.Items.
Add
(item);
4185
control.Items.
Add
(item);
4224
control.Items.
Add
(item1);
4245
control.Items.
Add
(item1);
4332
listView.Items.
Add
(testItem);
4481
control.Items.
Add
(new ListViewItem());
4482
control.Items.
Add
(new ListViewItem());
4510
control.Items.
Add
(item1);
4511
control.Items.
Add
(item2);
4542
group.Items.
Add
(item1);
4543
group.Items.
Add
(item2);
4582
control.Items.
Add
(item1);
4583
control.Items.
Add
(item2);
4584
control.Items.
Add
(item3);
4734
listView.Items.
Add
(listItem);
4811
listView.Items.
Add
(listItem);
4868
listView.Items.
Add
(listViewItem);
4914
listView.Items.
Add
(listViewItem);
4931
listView.Items.
Add
(listViewItem);
4963
listView.Items.
Add
(listViewItem);
5150
listView.Items.
Add
(new ListViewItem("Test"));
5175
listView.Items.
Add
(new ListViewItem("Test"));
5200
listView.Items.
Add
(new ListViewItem("Test"));
5227
listView.Items.
Add
(new ListViewItem("Test"));
5439
listView.Items.
Add
(item);
5478
listView.Items.
Add
(new ListViewItem("Group Item 0"));
5797
listView.Items.
Add
(new ListViewItem("Test 1"));
5798
listView.Items.
Add
(new ListViewItem("Test 2"));
5813
listView.Items.
Add
(new ListViewItem("Test 1"));
5814
listView.Items.
Add
(new ListViewItem("Test 2"));
5829
listView.Items.
Add
(new ListViewItem("Test 1") { Name = "Test 1" });
5830
listView.Items.
Add
(new ListViewItem("Test 2"));
5845
listView.Items.
Add
(new ListViewItem("Test 1"));
5846
listView.Items.
Add
(new ListViewItem("Test 2"));
6213
listView.Items.
Add
(listItem1);
6214
listView.Items.
Add
(listItem2);
System.Windows.Forms.UI.IntegrationTests (1)
ListViewTests.cs (1)
562
listView.Items.
Add
(listViewItem);
WinFormsControlsTest (4)
ListViewTest.cs (4)
153
listView1.Items.
Add
(new ListViewItem
166
listView1.Items.
Add
(new ListViewItem
193
listView1.Items.
Add
(new ListViewItem
259
listView1.Items.
Add
(item);