15 types derived from ListBox
System.Windows.Forms (2)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
17
public partial class CheckedListBox :
ListBox
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBox.cs (1)
8
internal class GridViewListBox :
ListBox
System.Windows.Forms.Design (3)
System\ComponentModel\Design\CollectionEditor.FilterListBox.cs (1)
13
internal class FilterListBox :
ListBox
System\Drawing\Design\ColorEditor.ColorUI.ColorEditorListBox.cs (1)
12
private sealed class ColorEditorListBox :
ListBox
System\Drawing\Design\CursorEditor.CursorUI.cs (1)
15
private class CursorUI :
ListBox
System.Windows.Forms.Tests (10)
System\Windows\Forms\ControlTests.cs (1)
1469
private class SubListBox :
ListBox
, IParentHandleRecreationHandler
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (2)
12203
private class CustomAddStringListBox :
ListBox
12219
private class CustomInsertStringListBox :
ListBox
System\Windows\Forms\ListBoxTests.cs (7)
1867
private class CustomCreateItemCollectionListBox :
ListBox
3331
private class CustomListBox :
ListBox
5259
private class CustomGetItemHeightListBox :
ListBox
5289
private class InvalidGetItemHeightListBox :
ListBox
5404
private class CustomGetItemRectListBox :
ListBox
5433
private class InvalidGetItemRectListBox :
ListBox
6400
private class SubListBox :
ListBox
671 instantiations of ListBox
PresentationUI (2)
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (1)
46
this._credListBox = new System.Windows.Forms.
ListBox
();
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (1)
44
_listBoxSummary = new System.Windows.Forms.
ListBox
();
System.Windows.Forms (1)
System\Windows\Forms\MDI\MDIWindowDialog.cs (1)
92
_itemList = new
ListBox
();
System.Windows.Forms.Design (6)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
51
ListBox listBox = new
ListBox
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
271
_dataColumns = new
ListBox
();
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
476
_selectedColumns = new
ListBox
();
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.Picker.cs (1)
27
_typesListBox =
new
();
System\Windows\Forms\Design\FormatControl.Designer.cs (2)
46
dateTimeFormatsListBox = new System.Windows.Forms.
ListBox
();
48
formatTypeListBox = new System.Windows.Forms.
ListBox
();
System.Windows.Forms.Design.Tests (9)
System\Windows\Forms\Design\FormatStringDialogTests.cs (1)
62
using ListBox listControl =
new
();
System\Windows\Forms\Design\ListBoxDesignerTests.cs (6)
12
using ListBox listBox =
new
();
38
using ListBox listBox =
new
();
58
using ListBox listBox =
new
();
69
using ListBox listBox =
new
();
87
using ListBox listBox =
new
();
109
using ListBox listBox =
new
();
System\Windows\Forms\Design\ListControlStringCollectionEditorTests.cs (2)
41
using ListBox listControl =
new
();
57
using ListBox listControl =
new
() { DataSource = new List<string> { "item1", "item2", "item3" } };
System.Windows.Forms.Tests (638)
System\Windows\Forms\AccessibleObjects\ListBox.ListBoxItemAccessibleObjectTests.cs (9)
23
using ListBox control =
new
()
51
using ListBox listBox =
new
();
74
using ListBox listBox =
new
();
90
using ListBox listBox =
new
();
107
using ListBox listBox =
new
();
123
using ListBox listBox =
new
();
154
using ListBox listBox =
new
();
166
using ListBox listBox =
new
();
189
using ListBox listBox =
new
();
System\Windows\Forms\AccessibleObjects\ListBoxAccessibleObjectTests.cs (11)
30
using ListBox listBox =
new
();
44
using ListBox listBox =
new
();
77
using ListBox listBox =
new
();
90
using ListBox listBox =
new
();
136
using ListBox listBox =
new
();
221
ListBox listBox =
new
();
254
using ListBox listBox =
new
();
277
using ListBox listBox =
new
();
291
using ListBox listBox =
new
();
312
using ListBox listBox =
new
() { SelectionMode = multipleSelection ? SelectionMode.MultiExtended : SelectionMode.One };
345
using ListBox listBox =
new
() { Parent = form, Items = { "Item 1", "Item 2" } };
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
281
{ new
ListBox
(), new string[] { "DataSource: Object", "DataContext: Object", "Tag: Object" } },
System\Windows\Forms\ListBox.IntegerCollectionTests.cs (96)
15
using ListBox owner =
new
();
23
using ListBox owner =
new
();
30
using ListBox owner =
new
();
40
using ListBox owner =
new
();
52
using ListBox owner =
new
();
67
using ListBox owner =
new
();
78
using ListBox owner =
new
();
89
using ListBox owner =
new
();
115
using ListBox owner =
new
();
141
using ListBox owner =
new
();
183
using ListBox owner =
new
();
228
using ListBox owner =
new
();
239
using ListBox owner =
new
();
254
using ListBox owner =
new
()
297
using ListBox owner =
new
()
340
using ListBox owner =
new
()
402
using ListBox owner =
new
()
464
using ListBox owner =
new
()
492
using ListBox owner =
new
()
520
using ListBox owner =
new
()
561
using ListBox owner =
new
()
602
using ListBox owner =
new
()
609
using ListBox otherOwner =
new
();
633
using ListBox owner =
new
()
640
using ListBox otherOwner =
new
();
664
using ListBox owner =
new
()
678
using ListBox otherOwner =
new
();
708
using ListBox owner =
new
()
722
using ListBox otherOwner =
new
();
748
using ListBox owner =
new
();
757
using ListBox owner =
new
();
767
using ListBox owner =
new
();
789
using ListBox owner =
new
();
810
using ListBox owner =
new
();
831
using ListBox owner =
new
();
856
using ListBox owner =
new
();
879
using ListBox owner =
new
();
914
using ListBox owner =
new
();
949
using ListBox owner =
new
();
985
using ListBox owner =
new
();
1021
using ListBox owner =
new
();
1031
using ListBox owner =
new
();
1045
using ListBox owner =
new
();
1053
using ListBox owner =
new
();
1064
using ListBox owner =
new
();
1074
using ListBox owner =
new
();
1100
using ListBox owner =
new
()
1144
using ListBox owner =
new
()
1188
using ListBox owner =
new
()
1251
using ListBox owner =
new
()
1314
using ListBox owner =
new
()
1351
using ListBox owner =
new
()
1388
using ListBox owner =
new
()
1441
using ListBox owner =
new
()
1493
using ListBox owner =
new
();
1504
using ListBox owner =
new
();
1515
using ListBox owner =
new
();
1535
using ListBox owner =
new
();
1546
using ListBox owner =
new
();
1557
using ListBox owner =
new
();
1588
using ListBox owner =
new
();
1617
using ListBox owner =
new
();
1664
using ListBox owner =
new
();
1712
using ListBox owner =
new
();
1723
using ListBox owner =
new
();
1740
using ListBox owner =
new
();
1752
using ListBox owner =
new
()
1795
using ListBox owner =
new
()
1838
using ListBox owner =
new
()
1900
using ListBox owner =
new
()
1960
using ListBox owner =
new
();
1968
using ListBox owner =
new
();
1980
using ListBox owner =
new
();
2006
using ListBox owner =
new
();
2027
using ListBox owner =
new
();
2048
using ListBox owner =
new
();
2073
using ListBox owner =
new
();
2096
using ListBox owner =
new
();
2131
using ListBox owner =
new
();
2166
using ListBox owner =
new
();
2202
using ListBox owner =
new
();
2238
using ListBox owner =
new
();
2261
using ListBox owner =
new
();
2290
using ListBox owner =
new
();
2302
using ListBox owner =
new
();
2332
using ListBox owner =
new
()
2381
using ListBox owner =
new
()
2428
using ListBox owner =
new
()
2496
using ListBox owner =
new
()
2560
using ListBox owner =
new
();
2572
using ListBox owner =
new
()
2614
using ListBox owner =
new
()
2654
using ListBox owner =
new
()
2712
using ListBox owner =
new
()
2767
using ListBox owner =
new
();
2778
using ListBox owner =
new
();
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (332)
15
using ListBox owner =
new
();
26
using ListBox owner =
new
();
37
using ListBox otherOwner =
new
();
39
using ListBox owner =
new
();
50
using ListBox owner =
new
();
59
using ListBox owner =
new
()
63
using ListBox otherOwner =
new
();
79
using ListBox owner =
new
();
87
using ListBox owner =
new
();
97
using ListBox owner =
new
();
109
using ListBox owner =
new
();
122
using ListBox owner =
new
()
141
using ListBox owner =
new
();
152
using ListBox owner =
new
();
163
using ListBox owner =
new
();
201
using ListBox owner =
new
()
242
using ListBox owner =
new
();
280
using ListBox owner =
new
()
498
using ListBox owner =
new
();
584
using ListBox owner =
new
()
673
using ListBox owner =
new
();
719
using ListBox owner =
new
()
770
using ListBox owner =
new
()
839
using ListBox owner =
new
()
907
using ListBox owner =
new
();
977
using ListBox owner =
new
()
1052
using ListBox owner =
new
()
1151
using ListBox owner =
new
()
1253
using ListBox owner =
new
();
1265
using ListBox owner =
new
();
1279
using ListBox owner =
new
();
1290
using ListBox owner =
new
();
1301
using ListBox owner =
new
();
1342
using ListBox owner =
new
();
1383
using ListBox owner =
new
()
1427
using ListBox owner =
new
()
1471
using ListBox owner =
new
();
1550
using ListBox owner =
new
();
1629
using ListBox owner =
new
()
1711
using ListBox owner =
new
()
1793
using ListBox owner =
new
();
1822
using ListBox owner =
new
()
1856
using ListBox owner =
new
()
1900
using ListBox owner =
new
()
1939
using ListBox owner =
new
();
1981
using ListBox owner =
new
()
2028
using ListBox owner =
new
()
2088
using ListBox owner =
new
()
2146
using ListBox owner =
new
();
2162
using ListBox owner =
new
();
2184
using ListBox owner =
new
();
2192
using ListBox owner =
new
()
2220
using ListBox owner =
new
();
2244
using ListBox owner =
new
();
2268
using ListBox owner =
new
()
2295
using ListBox owner =
new
()
2322
using ListBox owner =
new
();
2374
using ListBox owner =
new
();
2426
using ListBox owner =
new
()
2481
using ListBox owner =
new
()
2536
using ListBox owner =
new
();
2564
using ListBox owner =
new
()
2597
using ListBox owner =
new
()
2632
using ListBox owner =
new
()
2663
using ListBox owner =
new
();
2704
using ListBox owner =
new
()
2750
using ListBox owner =
new
()
2798
using ListBox owner =
new
()
2844
using ListBox owner =
new
();
2855
using ListBox owner =
new
();
2874
using ListBox owner =
new
();
2879
using ListBox otherOwner =
new
();
2890
using ListBox emptyOwner =
new
();
2903
using ListBox owner =
new
();
2908
using ListBox otherOwner =
new
();
2919
using ListBox emptyOwner =
new
();
2932
using ListBox owner =
new
()
2940
using ListBox otherOwner =
new
();
2951
using ListBox emptyOwner =
new
();
2964
using ListBox owner =
new
()
2972
using ListBox otherOwner =
new
();
2983
using ListBox emptyOwner =
new
();
2996
using ListBox owner =
new
();
3007
using ListBox otherOwner =
new
();
3029
using ListBox emptyOwner =
new
();
3053
using ListBox owner =
new
();
3064
using ListBox otherOwner =
new
();
3086
using ListBox emptyOwner =
new
();
3110
using ListBox owner =
new
()
3124
using ListBox otherOwner =
new
();
3146
using ListBox emptyOwner =
new
();
3170
using ListBox owner =
new
()
3184
using ListBox otherOwner =
new
();
3206
using ListBox emptyOwner =
new
();
3230
using ListBox owner =
new
();
3239
using ListBox otherOwner =
new
();
3250
using ListBox emptyOwner =
new
();
3263
using ListBox owner =
new
()
3275
using ListBox otherOwner =
new
();
3286
using ListBox emptyOwner =
new
();
3301
using ListBox owner =
new
()
3315
using ListBox otherOwner =
new
();
3326
using ListBox emptyOwner =
new
();
3341
using ListBox owner =
new
()
3355
using ListBox otherOwner =
new
();
3365
using ListBox emptyOwner =
new
();
3377
using ListBox owner =
new
();
3393
using ListBox otherOwner =
new
();
3407
using ListBox emptyOwner =
new
();
3423
using ListBox owner =
new
()
3442
using ListBox otherOwner =
new
();
3456
using ListBox emptyOwner =
new
();
3474
using ListBox owner =
new
()
3495
using ListBox otherOwner =
new
();
3509
using ListBox emptyOwner =
new
();
3527
using ListBox owner =
new
()
3548
using ListBox otherOwner =
new
();
3562
using ListBox emptyOwner =
new
();
3578
using ListBox owner =
new
();
3580
using ListBox otherOwner =
new
();
3592
using ListBox owner =
new
();
3594
using ListBox otherOwner =
new
();
3614
using ListBox owner =
new
();
3623
using ListBox owner =
new
();
3635
using ListBox owner =
new
();
3648
using ListBox owner =
new
();
3657
using ListBox owner =
new
();
3665
using ListBox owner =
new
()
3670
using ListBox otherOwner =
new
();
3690
using ListBox otherOwner =
new
();
3703
using ListBox owner =
new
();
3724
using ListBox owner =
new
();
3745
using ListBox owner =
new
();
3770
using ListBox owner =
new
();
3793
using ListBox owner =
new
();
3830
using ListBox owner =
new
();
3867
using ListBox owner =
new
();
3905
using ListBox owner =
new
();
3943
using ListBox owner =
new
();
3954
using ListBox owner =
new
();
3978
using ListBox owner =
new
();
3986
using ListBox owner =
new
();
3996
using ListBox owner =
new
();
4010
using ListBox owner =
new
();
4018
using ListBox owner =
new
();
4029
using ListBox owner =
new
();
4052
using ListBox owner =
new
();
4081
using ListBox owner =
new
();
4092
using ListBox owner =
new
();
4116
using ListBox owner =
new
();
4124
using ListBox owner =
new
();
4165
using ListBox owner =
new
();
4206
using ListBox owner =
new
()
4250
using ListBox owner =
new
()
4294
using ListBox owner =
new
();
4373
using ListBox owner =
new
();
4452
using ListBox owner =
new
()
4534
using ListBox owner =
new
()
4616
using ListBox owner =
new
();
4645
using ListBox owner =
new
()
4673
using ListBox owner =
new
()
4717
using ListBox owner =
new
()
4754
using ListBox owner =
new
();
4796
using ListBox owner =
new
()
4843
using ListBox owner =
new
()
4903
using ListBox owner =
new
()
4961
using ListBox owner =
new
();
4975
using ListBox owner =
new
();
5000
using ListBox owner =
new
();
5011
using ListBox owner =
new
();
5022
using ListBox owner =
new
();
5030
using ListBox owner =
new
()
5058
using ListBox owner =
new
();
5104
using ListBox owner =
new
();
5145
using ListBox owner =
new
()
5194
using ListBox owner =
new
()
5238
using ListBox owner =
new
();
5310
using ListBox owner =
new
();
5387
using ListBox owner =
new
()
5462
using ListBox owner =
new
()
5542
using ListBox owner =
new
();
5580
using ListBox owner =
new
()
5623
using ListBox owner =
new
()
5675
using ListBox owner =
new
()
5725
using ListBox owner =
new
();
5784
using ListBox owner =
new
()
5848
using ListBox owner =
new
()
5916
using ListBox owner =
new
()
5982
using ListBox owner =
new
()
5993
using ListBox owner =
new
()
6005
using ListBox owner =
new
();
6043
using ListBox owner =
new
();
6077
using ListBox owner =
new
()
6118
using ListBox owner =
new
()
6155
using ListBox owner =
new
();
6212
using ListBox owner =
new
();
6273
using ListBox owner =
new
()
6333
using ListBox owner =
new
()
6397
using ListBox owner =
new
();
6435
using ListBox owner =
new
()
6478
using ListBox owner =
new
()
6530
using ListBox owner =
new
()
6580
using ListBox owner =
new
();
6639
using ListBox owner =
new
()
6703
using ListBox owner =
new
()
6771
using ListBox owner =
new
()
6840
using ListBox owner =
new
();
6851
using ListBox owner =
new
();
6862
using ListBox owner =
new
()
6873
using ListBox owner =
new
()
6884
using ListBox owner =
new
();
6902
using ListBox owner =
new
()
6926
using ListBox owner =
new
();
6937
using ListBox owner =
new
();
6948
using ListBox owner =
new
();
6990
using ListBox owner =
new
()
7035
using ListBox owner =
new
();
7075
using ListBox owner =
new
()
7299
using ListBox owner =
new
();
7387
using ListBox owner =
new
()
7478
using ListBox owner =
new
();
7524
using ListBox owner =
new
()
7575
using ListBox owner =
new
()
7644
using ListBox owner =
new
()
7712
using ListBox owner =
new
();
7782
using ListBox owner =
new
()
7857
using ListBox owner =
new
()
7956
using ListBox owner =
new
()
8058
using ListBox owner =
new
();
8070
using ListBox owner =
new
();
8084
using ListBox owner =
new
();
8095
using ListBox owner =
new
();
8106
using ListBox owner =
new
();
8147
using ListBox owner =
new
();
8188
using ListBox owner =
new
()
8232
using ListBox owner =
new
()
8276
using ListBox owner =
new
();
8355
using ListBox owner =
new
();
8434
using ListBox owner =
new
()
8516
using ListBox owner =
new
()
8598
using ListBox owner =
new
();
8627
using ListBox owner =
new
()
8661
using ListBox owner =
new
()
8705
using ListBox owner =
new
()
8744
using ListBox owner =
new
();
8786
using ListBox owner =
new
()
8833
using ListBox owner =
new
()
8893
using ListBox owner =
new
()
8951
using ListBox owner =
new
();
8967
using ListBox owner =
new
();
8989
using ListBox owner =
new
();
8997
using ListBox owner =
new
()
9025
using ListBox owner =
new
();
9046
using ListBox owner =
new
();
9067
using ListBox owner =
new
();
9092
using ListBox owner =
new
();
9115
using ListBox owner =
new
();
9152
using ListBox owner =
new
();
9189
using ListBox owner =
new
();
9227
using ListBox owner =
new
();
9265
using ListBox owner =
new
();
9276
using ListBox owner =
new
();
9300
using ListBox owner =
new
();
9308
using ListBox owner =
new
();
9318
using ListBox owner =
new
();
9332
using ListBox owner =
new
();
9340
using ListBox owner =
new
();
9351
using ListBox owner =
new
();
9374
using ListBox owner =
new
();
9403
using ListBox owner =
new
();
9414
using ListBox owner =
new
();
9438
using ListBox owner =
new
();
9446
using ListBox owner =
new
();
9487
using ListBox owner =
new
();
9528
using ListBox owner =
new
()
9572
using ListBox owner =
new
()
9616
using ListBox owner =
new
();
9695
using ListBox owner =
new
();
9774
using ListBox owner =
new
()
9856
using ListBox owner =
new
()
9938
using ListBox owner =
new
();
9967
using ListBox owner =
new
()
9995
using ListBox owner =
new
()
10039
using ListBox owner =
new
()
10076
using ListBox owner =
new
();
10118
using ListBox owner =
new
()
10165
using ListBox owner =
new
()
10225
using ListBox owner =
new
()
10283
using ListBox owner =
new
();
10297
using ListBox owner =
new
();
10322
using ListBox owner =
new
();
10333
using ListBox owner =
new
();
10344
using ListBox owner =
new
();
10352
using ListBox owner =
new
()
10380
using ListBox owner =
new
();
10426
using ListBox owner =
new
();
10467
using ListBox owner =
new
()
10516
using ListBox owner =
new
()
10560
using ListBox owner =
new
();
10632
using ListBox owner =
new
();
10709
using ListBox owner =
new
()
10784
using ListBox owner =
new
()
10864
using ListBox owner =
new
();
10902
using ListBox owner =
new
()
10945
using ListBox owner =
new
()
10997
using ListBox owner =
new
()
11047
using ListBox owner =
new
();
11106
using ListBox owner =
new
()
11170
using ListBox owner =
new
()
11238
using ListBox owner =
new
()
11304
using ListBox owner =
new
()
11315
using ListBox owner =
new
()
11327
using ListBox owner =
new
();
11365
using ListBox owner =
new
();
11399
using ListBox owner =
new
()
11440
using ListBox owner =
new
()
11477
using ListBox owner =
new
();
11534
using ListBox owner =
new
();
11595
using ListBox owner =
new
()
11655
using ListBox owner =
new
()
11719
using ListBox owner =
new
();
11757
using ListBox owner =
new
()
11800
using ListBox owner =
new
()
11852
using ListBox owner =
new
()
11902
using ListBox owner =
new
();
11961
using ListBox owner =
new
()
12025
using ListBox owner =
new
()
12093
using ListBox owner =
new
()
12162
using ListBox owner =
new
();
12173
using ListBox owner =
new
();
12184
using ListBox owner =
new
()
12195
using ListBox owner =
new
()
System\Windows\Forms\ListBox.SelectedIndexCollectionTests.cs (13)
13
using ListBox owner =
new
();
22
using ListBox owner =
new
();
29
using ListBox owner =
new
();
39
using ListBox owner =
new
();
60
using ListBox owner =
new
();
71
using ListBox owner =
new
();
79
using ListBox owner =
new
();
96
using ListBox owner =
new
();
107
using ListBox owner =
new
();
118
using ListBox owner =
new
();
126
using ListBox listBox =
new
()
141
using ListBox listBox =
new
()
157
using ListBox listBox =
new
()
System\Windows\Forms\ListBox.SelectedObjectCollectionTests.cs (1)
15
_owner =
new
();
System\Windows\Forms\ListBoxTests.cs (175)
359
using ListBox control =
new
()
382
using ListBox control =
new
();
410
using ListBox control =
new
();
446
using ListBox control =
new
();
462
using ListBox control =
new
();
478
using ListBox control =
new
()
494
using ListBox control =
new
();
537
using ListBox control =
new
()
553
using ListBox control =
new
();
589
using ListBox control =
new
();
597
using ListBox control =
new
()
618
using ListBox control =
new
();
649
using ListBox control =
new
();
660
using ListBox control =
new
()
679
using ListBox control =
new
()
700
using ListBox control =
new
();
731
using ListBox control =
new
()
761
using ListBox control =
new
()
778
using ListBox control =
new
();
819
using ListBox control =
new
();
890
using ListBox control =
new
()
931
using ListBox control =
new
()
991
using ListBox control =
new
()
1028
using ListBox control =
new
();
1035
using ListBox control =
new
()
1201
using ListBox control =
new
();
1253
using ListBox control =
new
()
1279
using ListBox control =
new
();
1307
using ListBox control =
new
();
1343
using ListBox control =
new
();
1359
using ListBox control =
new
();
1388
using ListBox control =
new
()
1420
using ListBox control =
new
()
1456
using ListBox control =
new
()
1482
using ListBox control =
new
()
1508
using ListBox control =
new
()
1546
using ListBox control =
new
()
1597
using ListBox control =
new
()
1643
using ListBox control =
new
()
1669
using ListBox control =
new
();
1722
using ListBox control =
new
()
1759
using ListBox control =
new
()
1796
using ListBox control =
new
()
1811
using ListBox control =
new
();
1819
using ListBox control =
new
();
1836
using ListBox control =
new
();
1851
yield return new object[] { new ListBox.ObjectCollection(new
ListBox
()) };
1886
using ListBox control =
new
()
1917
using ListBox control =
new
()
1956
using ListBox control =
new
()
1971
using ListBox control =
new
()
1988
using ListBox control =
new
();
2016
using ListBox control =
new
();
2070
using ListBox control =
new
()
2099
using ListBox control =
new
()
2129
using ListBox control =
new
()
2153
using ListBox control =
new
()
2179
using ListBox control =
new
()
2195
using ListBox control =
new
();
2231
using ListBox control =
new
();
2239
using ListBox control =
new
()
2262
using ListBox control =
new
();
2299
using ListBox control =
new
()
2312
using ListBox control =
new
()
2328
using ListBox control =
new
()
2351
using ListBox control =
new
()
2396
using ListBox control =
new
()
2494
using ListBox control =
new
()
2558
using ListBox control =
new
()
2621
using ListBox control =
new
()
2648
using ListBox control =
new
()
2683
using ListBox control =
new
()
2734
using ListBox control =
new
();
2743
using ListBox control =
new
();
2751
using ListBox control =
new
()
2762
using ListBox control =
new
()
2775
using ListBox control =
new
()
2794
using ListBox control =
new
()
2817
using ListBox control =
new
()
2870
using ListBox control =
new
()
2985
using ListBox control =
new
()
3060
using ListBox control =
new
()
3134
using ListBox control =
new
()
3165
using ListBox control =
new
()
3207
using ListBox control =
new
()
3263
using ListBox control =
new
()
3274
using ListBox control =
new
()
3361
using ListBox control =
new
()
3397
using ListBox control =
new
()
3425
using ListBox control =
new
();
3461
using ListBox control =
new
();
3499
using ListBox control =
new
()
3541
using ListBox control =
new
()
3585
using ListBox control =
new
();
3644
using ListBox control =
new
()
3685
using ListBox control =
new
();
3737
using ListBox control =
new
();
3791
using ListBox control =
new
()
3849
using ListBox control =
new
()
3906
using ListBox control =
new
();
3914
using ListBox control =
new
()
3939
using ListBox control =
new
();
3970
using ListBox control =
new
();
3996
using ListBox control =
new
();
4036
using ListBox control =
new
();
4077
using ListBox control =
new
();
4119
using ListBox control =
new
()
4161
using ListBox control =
new
()
4212
using ListBox control =
new
()
4238
using ListBox control =
new
();
4268
using ListBox control =
new
();
4303
using ListBox control =
new
();
4317
using ListBox control =
new
()
4338
using ListBox control =
new
();
4361
using ListBox control =
new
();
4396
using ListBox control =
new
();
4426
using ListBox control =
new
();
4440
using ListBox control =
new
()
4463
using ListBox control =
new
();
4500
using ListBox control =
new
()
4523
using ListBox control =
new
();
4630
using ListBox control =
new
();
4650
using ListBox control =
new
();
4690
using ListBox control =
new
();
4712
using ListBox control =
new
();
4804
using ListBox control =
new
()
4820
using ListBox control =
new
()
4837
using ListBox control =
new
()
4869
using ListBox control =
new
()
4939
yield return new object[] { new
ListBox
(), null, startIndex, -1 };
4940
yield return new object[] { new
ListBox
(), string.Empty, startIndex, -1 };
4941
yield return new object[] { new
ListBox
(), "s", startIndex, -1 };
4943
using ListBox controlWithNoItems =
new
();
4945
yield return new object[] { new
ListBox
(), null, startIndex, -1 };
4946
yield return new object[] { new
ListBox
(), string.Empty, startIndex, -1 };
4947
yield return new object[] { new
ListBox
(), "s", startIndex, -1 };
4950
using ListBox controlWithItems =
new
()
5034
using ListBox control =
new
();
5043
yield return new object[] { new
ListBox
(), null, startIndex, -1 };
5044
yield return new object[] { new
ListBox
(), string.Empty, startIndex, -1 };
5045
yield return new object[] { new
ListBox
(), "s", startIndex, -1 };
5047
using ListBox controlWithNoItems =
new
();
5049
yield return new object[] { new
ListBox
(), null, startIndex, -1 };
5050
yield return new object[] { new
ListBox
(), string.Empty, startIndex, -1 };
5051
yield return new object[] { new
ListBox
(), "s", startIndex, -1 };
5054
using ListBox controlWithItems =
new
()
5138
using ListBox control =
new
();
5147
using ListBox control =
new
()
5168
using ListBox control =
new
()
5184
using ListBox control =
new
()
5207
using ListBox control =
new
()
5310
using ListBox control =
new
();
5320
using ListBox control =
new
();
5328
using ListBox control =
new
();
5351
using ListBox control =
new
();
5454
using ListBox control =
new
();
5463
using ListBox control =
new
();
5474
using ListBox control =
new
();
5483
using ListBox control =
new
();
5976
using ListBox control =
new
();
5995
using ListBox control =
new
();
6082
using ListBox control =
new
();
6089
using ListBox control =
new
();
6105
using ListBox control =
new
();
6116
using ListBox listBox =
new
();
6157
using ListBox listBox =
new
() { SelectionMode = mode };
6197
using ListBox listBox =
new
();
6233
using ListBox listBox =
new
() { SelectionMode = mode };
6269
using ListBox listBox =
new
() { FormattingEnabled = formattingEnabled };
6290
using ListBox listBox =
new
()
6312
using ListBox listBox =
new
();
6325
using ListBox listBox =
new
();
6342
using ListBox listBox =
new
();
6355
using ListBox listBox =
new
()
6379
using ListBox listBox =
new
()
System.Windows.Forms.UI.IntegrationTests (9)
DragDropTests.cs (2)
657
ListDragSource = new
ListBox
();
658
ListDragTarget = new
ListBox
();
ListBoxAccesibleObjectTests.cs (3)
15
using ListBox listBox =
new
();
36
using ListBox listBox =
new
() { Parent = form, Items = { "Item 1", "Item 2" } };
50
using ListBox listBox =
new
() { Parent = form, Items = { "Item 1", "Item 2" } };
ListBoxItemAccessibleObjestTests.cs (4)
15
using ListBox listBox =
new
() { Parent = form };
38
using ListBox listBoxDoubleClick =
new
() { Items = { "Item 1" }, Parent = formDoubleClick };
44
using ListBox listBoxNullAction = new
ListBox
{ Items = { "Item 2" } };
53
using ListBox listBox =
new
() { Parent = form };
TestPassApp (2)
CommonControl1.Designer.cs (1)
74
this.listBox1 = new System.Windows.Forms.
ListBox
();
DataBindingExample.Designer.cs (1)
46
this.listBox1 = new System.Windows.Forms.
ListBox
();
WinFormsControlsTest (4)
ListBoxes.Designer.cs (3)
35
this.listBox1 = new System.Windows.Forms.
ListBox
();
45
this.listBox3 = new System.Windows.Forms.
ListBox
();
50
this.listBox4 = new System.Windows.Forms.
ListBox
();
ScrollableControls.Designer.cs (1)
77
listBox1 = new
ListBox
();
1160 references to ListBox
DesignSurface (4)
MainForm.cs (4)
196
ListBox
lb1 = surface.CreateControl<
ListBox
>(new Size(200, 130), new Point(260, 100));
271
ListBox
listBox = surface.CreateControl<
ListBox
>(new Size(120, 94), new Point(337, 217));
PresentationUI (2)
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (1)
193
private System.Windows.Forms.
ListBox
_credListBox;
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (1)
234
private System.Windows.Forms.
ListBox
_listBoxSummary;
System.Windows.Forms (41)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedListBoxAccessibleObject.cs (1)
13
private protected override ListBoxItemAccessibleObject CreateItemAccessibleObject(
ListBox
listBox, ItemArray.Entry item)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (3)
159
/// Collection of items in this <see cref="
ListBox
"/>
361
protected override
ListBox
.ObjectCollection CreateItemCollection()
385
/// Invalidates the given item in the <see cref="
ListBox
"/>
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.ObjectCollection.cs (1)
8
public new class ObjectCollection :
ListBox
.ObjectCollection
System\Windows\Forms\Controls\ListBoxes\ListBox.AccessibleObject.cs (19)
24
public ListBoxAccessibleObject(
ListBox
owningListBox) : base(owningListBox)
31
internal override Rectangle BoundingRectangle => this.IsOwnerHandleCreated(out
ListBox
? owner) ?
37
=> this.IsOwnerHandleCreated(out
ListBox
? owner) && owner.SelectionMode != SelectionMode.None;
40
=> this.IsOwnerHandleCreated(out
ListBox
? owner)
49
if (this.TryGetOwnerAs(out
ListBox
? owner) && owner.Focused)
58
private protected virtual ListBoxItemAccessibleObject CreateItemAccessibleObject(
ListBox
listBox, ItemArray.Entry item)
63
if (!this.IsOwnerHandleCreated(out
ListBox
? _))
80
int childCount = this.TryGetOwnerAs(out
ListBox
? owner) ? owner.Items.Count : 0;
95
internal override IRawElementProviderFragment.Interface? GetFocus() => this.IsOwnerHandleCreated(out
ListBox
? _) ? GetFocused() : null;
106
UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId => this.TryGetOwnerAs(out
ListBox
? owner)
121
=> this.TryGetOwnerAs(out
ListBox
? _) || base.IsIAccessibleExSupported();
143
if (!this.TryGetOwnerAs(out
ListBox
? owner))
168
if (this.IsOwnerHandleCreated(out
ListBox
? owner))
176
if (!this.IsOwnerHandleCreated(out
ListBox
? _))
188
if (!this.TryGetOwnerAs(out
ListBox
? owner))
216
return this.TryGetOwnerAs(out
ListBox
? owner) ? owner.Items.Count : 0;
221
if (this.TryGetOwnerAs(out
ListBox
? owner))
235
if (this.TryGetOwnerAs(out
ListBox
? owner))
250
if (!this.IsOwnerHandleCreated(out
ListBox
? _))
System\Windows\Forms\Controls\ListBoxes\ListBox.IntegerCollection.cs (2)
13
private readonly
ListBox
_owner;
17
public IntegerCollection(
ListBox
owner)
System\Windows\Forms\Controls\ListBoxes\ListBox.ItemAccessibleObject.cs (2)
19
private readonly
ListBox
_owningListBox;
21
public ListBoxItemAccessibleObject(
ListBox
owningListBox, ItemArray.Entry itemEntry, ListBoxAccessibleObject owningAccessibleObject)
System\Windows\Forms\Controls\ListBoxes\ListBox.ObjectCollection.cs (4)
20
private readonly
ListBox
_owner;
23
public ObjectCollection(
ListBox
owner)
31
public ObjectCollection(
ListBox
owner, ObjectCollection value)
42
public ObjectCollection(
ListBox
owner, object[] value)
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.cs (2)
13
private readonly
ListBox
_owner;
15
public SelectedIndexCollection(
ListBox
owner)
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedObjectCollection.cs (2)
17
private readonly
ListBox
_owner;
22
public SelectedObjectCollection(
ListBox
owner)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBoxAccessibleObject.cs (1)
14
private class GridViewListBoxAccessibleObject :
ListBox
.ListBoxAccessibleObject
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBoxItemAccessibleObject.cs (1)
5
using static System.Windows.Forms.
ListBox
;
System\Windows\Forms\Controls\TreeView\TreeView.TreeViewAccessibleObject.cs (1)
17
internal override Rectangle BoundingRectangle => this.IsOwnerHandleCreated(out
ListBox
? owner) ?
System\Windows\Forms\MDI\MDIWindowDialog.cs (1)
8
private
ListBox
_itemList;
System\Windows\Forms\Rendering\DrawItemEventArgs.cs (1)
9
/// This event is fired by owner drawn <see cref="Control"/> objects, such as <see cref="
ListBox
"/> and
System.Windows.Forms.Design (25)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
51
ListBox
listBox = new ListBox
System\Drawing\Design\ColorEditor.ColorUI.cs (4)
24
private
ListBox
_lbSystem;
25
private
ListBox
_lbCommon;
243
if (sender is
ListBox
lb && lb.SelectedItem is Color selectedColor)
253
if (sender is not
ListBox
lb)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
17
private
ListBox
_dataColumns;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
14
private
ListBox
_selectedColumns;
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.Picker.cs (1)
15
private readonly
ListBox
_typesListBox;
System\Windows\Forms\Design\FormatControl.Designer.cs (2)
199
private System.Windows.Forms.
ListBox
formatTypeListBox;
207
private System.Windows.Forms.
ListBox
dateTimeFormatsListBox;
System\Windows\Forms\Design\ListBoxDesigner.cs (13)
25
ListBox
listBox = (
ListBox
)Component;
39
return ((
ListBox
)Component).Dock;
43
ListBox
listBox = (
ListBox
)Component;
103
if (component is
ListBox
listBox)
123
((
ListBox
)Component).FormattingEnabled = true;
128
if (TypeDescriptorHelper.TryGetPropertyValue(Component, nameof(
ListBox
.Name), out string? name)
155
&& e.Member.Name == nameof(
ListBox
.Items)
156
&& TypeDescriptorHelper.TryGetPropertyValue(Component, nameof(
ListBox
.Name), out string? name)
170
if (TypeDescriptorHelper.TryGetPropertyValue(Component, nameof(
ListBox
.Name), out string? name)
183
ListBox
listBox = (
ListBox
)Control;
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (2)
663
if (sender is
ListBox
listBox)
853
/// Invalidate the <see cref="
ListBox
"/> and the SelectedItemName Label on top of the propertyGrid.
System.Windows.Forms.Design.Tests (11)
EnsureEditorsTests.cs (1)
107
[InlineData(typeof(
ListBox
), "Items", typeof(ListControlStringCollectionEditor))]
System\Windows\Forms\Design\FormatStringDialogTests.cs (1)
62
using
ListBox
listControl = new();
System\Windows\Forms\Design\ListBoxDesignerTests.cs (7)
12
using
ListBox
listBox = new();
38
using
ListBox
listBox = new();
58
using
ListBox
listBox = new();
69
using
ListBox
listBox = new();
87
using
ListBox
listBox = new();
109
using
ListBox
listBox = new();
133
using
ListBox
listBox = new CheckedListBox();
System\Windows\Forms\Design\ListControlStringCollectionEditorTests.cs (2)
41
using
ListBox
listControl = new();
57
using
ListBox
listControl = new() { DataSource = new List<string> { "item1", "item2", "item3" } };
System.Windows.Forms.Tests (1048)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (1)
28
typeof(
ListBox
),
System\Windows\Forms\AccessibleObjects\ListBox.ListBoxItemAccessibleObjectTests.cs (28)
23
using
ListBox
control = new()
30
ListBox
.ListBoxAccessibleObject accessibleObject =
31
Assert.IsType<
ListBox
.ListBoxAccessibleObject>(control.AccessibilityObject);
41
Assert.IsType<
ListBox
.ListBoxItemAccessibleObject>(itemAccessibleObject);
51
using
ListBox
listBox = new();
53
ListBox
.ListBoxAccessibleObject accessibleObject = new(listBox);
56
Assert.IsType<
ListBox
.ListBoxItemAccessibleObject>(itemAccessibleObject);
74
using
ListBox
listBox = new();
76
ListBox
.ListBoxAccessibleObject accessibleObject = new(listBox);
79
Assert.IsType<
ListBox
.ListBoxItemAccessibleObject>(itemAccessibleObject);
90
using
ListBox
listBox = new();
92
ListBox
.ListBoxAccessibleObject accessibleObject = new(listBox);
95
Assert.IsType<
ListBox
.ListBoxItemAccessibleObject>(itemAccessibleObject);
107
using
ListBox
listBox = new();
109
ListBox
.ListBoxAccessibleObject accessibleObject = new(listBox);
112
Assert.IsType<
ListBox
.ListBoxItemAccessibleObject>(itemAccessibleObject);
123
using
ListBox
listBox = new();
125
ListBox
.ListBoxAccessibleObject accessibleObject = new(listBox);
128
Assert.IsType<
ListBox
.ListBoxItemAccessibleObject>(itemAccessibleObject);
154
using
ListBox
listBox = new();
156
ListBox
.ListBoxAccessibleObject listBoxAccessibleObject = new(listBox);
157
ListBox
.ListBoxItemAccessibleObject accessibleObject = (
ListBox
.ListBoxItemAccessibleObject)listBoxAccessibleObject.GetChild(0)!;
166
using
ListBox
listBox = new();
170
var itemAccessibleObject = accessibleObject.GetChild(0).Should().BeOfType<
ListBox
.ListBoxItemAccessibleObject>().Which;
189
using
ListBox
listBox = new();
191
ListBox
.ListBoxAccessibleObject listBoxAccessibleObject = new(listBox);
192
ListBox
.ListBoxItemAccessibleObject listBoxItemAccessibleObject = new(listBox, itemEntry, listBoxAccessibleObject);
System\Windows\Forms\AccessibleObjects\ListBoxAccessibleObjectTests.cs (21)
6
using static System.Windows.Forms.
ListBox
;
16
using
ListBox
listBox = InitializeListBoxWithItems();
30
using
ListBox
listBox = new();
44
using
ListBox
listBox = new();
77
using
ListBox
listBox = new();
90
using
ListBox
listBox = new();
100
using
ListBox
listBox = InitializeListBoxWithItems();
111
using
ListBox
listBox = InitializeListBoxWithItems();
122
using
ListBox
listBox = InitializeListBoxWithItems();
136
using
ListBox
listBox = new();
166
using
ListBox
listBox = InitializeListBoxWithItems();
187
using
ListBox
listBox = InitializeListBoxWithItems();
204
using
ListBox
listBox = InitializeListBoxWithItems();
219
private
ListBox
InitializeListBoxWithItems()
221
ListBox
listBox = new();
236
private ListBoxAccessibleObject InitListBoxItemsAccessibleObjects(
ListBox
listBox)
254
using
ListBox
listBox = new();
277
using
ListBox
listBox = new();
291
using
ListBox
listBox = new();
312
using
ListBox
listBox = new() { SelectionMode = multipleSelection ? SelectionMode.MultiExtended : SelectionMode.One };
345
using
ListBox
listBox = new() { Parent = form, Items = { "Item 1", "Item 2" } };
System\Windows\Forms\ListBox.IntegerCollectionTests.cs (181)
15
using
ListBox
owner = new();
16
var collection = new
ListBox
.IntegerCollection(owner);
23
using
ListBox
owner = new();
24
Assert.Throws<ArgumentNullException>("owner", () => new
ListBox
.IntegerCollection(null));
30
using
ListBox
owner = new();
31
ICollection collection = new
ListBox
.IntegerCollection(owner);
40
using
ListBox
owner = new();
41
IList collection = new
ListBox
.IntegerCollection(owner);
52
using
ListBox
owner = new();
53
var collection = new
ListBox
.IntegerCollection(owner);
67
using
ListBox
owner = new();
68
var collection = new
ListBox
.IntegerCollection(owner);
78
using
ListBox
owner = new();
79
var collection = new
ListBox
.IntegerCollection(owner)
89
using
ListBox
owner = new();
90
var collection = new
ListBox
.IntegerCollection(owner);
115
using
ListBox
owner = new();
116
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
141
using
ListBox
owner = new();
142
var collection = new
ListBox
.IntegerCollection(owner);
183
using
ListBox
owner = new();
184
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
228
using
ListBox
owner = new();
229
var collection = new
ListBox
.IntegerCollection(owner);
239
using
ListBox
owner = new();
240
var collection = new
ListBox
.IntegerCollection(owner)
254
using
ListBox
owner = new()
259
var collection = new
ListBox
.IntegerCollection(owner);
297
using
ListBox
owner = new()
302
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
340
using
ListBox
owner = new()
345
var collection = new
ListBox
.IntegerCollection(owner);
402
using
ListBox
owner = new()
407
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
464
using
ListBox
owner = new()
469
var collection = new
ListBox
.IntegerCollection(owner);
492
using
ListBox
owner = new()
497
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
520
using
ListBox
owner = new()
525
var collection = new
ListBox
.IntegerCollection(owner);
561
using
ListBox
owner = new()
566
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
602
using
ListBox
owner = new()
607
var collection = new
ListBox
.IntegerCollection(owner);
609
using
ListBox
otherOwner = new();
610
var otherCollection = new
ListBox
.IntegerCollection(otherOwner);
633
using
ListBox
owner = new()
638
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
640
using
ListBox
otherOwner = new();
641
var otherCollection = new
ListBox
.IntegerCollection(otherOwner);
664
using
ListBox
owner = new()
669
var collection = new
ListBox
.IntegerCollection(owner);
678
using
ListBox
otherOwner = new();
679
var otherCollection = new
ListBox
.IntegerCollection(otherOwner);
708
using
ListBox
owner = new()
713
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
722
using
ListBox
otherOwner = new();
723
var otherCollection = new
ListBox
.IntegerCollection(otherOwner);
748
using
ListBox
owner = new();
749
var collection = new
ListBox
.IntegerCollection(owner);
751
Assert.Throws<ArgumentNullException>("items", () => collection.AddRange((
ListBox
.IntegerCollection)null));
757
using
ListBox
owner = new();
758
var collection = new
ListBox
.IntegerCollection(owner);
767
using
ListBox
owner = new();
768
var collection = new
ListBox
.IntegerCollection(owner)
789
using
ListBox
owner = new();
790
var collection = new
ListBox
.IntegerCollection(owner);
810
using
ListBox
owner = new();
811
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
831
using
ListBox
owner = new();
832
var collection = new
ListBox
.IntegerCollection(owner)
856
using
ListBox
owner = new();
857
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
879
using
ListBox
owner = new();
880
var collection = new
ListBox
.IntegerCollection(owner);
914
using
ListBox
owner = new();
915
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
949
using
ListBox
owner = new();
950
var collection = new
ListBox
.IntegerCollection(owner);
985
using
ListBox
owner = new();
986
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
1021
using
ListBox
owner = new();
1022
var collection = new
ListBox
.IntegerCollection(owner);
1031
using
ListBox
owner = new();
1032
var collection = new
ListBox
.IntegerCollection(owner)
1045
using
ListBox
owner = new();
1046
var collection = new
ListBox
.IntegerCollection(owner);
1053
using
ListBox
owner = new();
1054
var collection = new
ListBox
.IntegerCollection(owner)
1064
using
ListBox
owner = new();
1065
var collection = new
ListBox
.IntegerCollection(owner);
1074
using
ListBox
owner = new();
1075
var collection = new
ListBox
.IntegerCollection(owner)
1100
using
ListBox
owner = new()
1105
var collection = new
ListBox
.IntegerCollection(owner);
1144
using
ListBox
owner = new()
1149
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
1188
using
ListBox
owner = new()
1193
var collection = new
ListBox
.IntegerCollection(owner);
1251
using
ListBox
owner = new()
1256
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
1314
using
ListBox
owner = new()
1319
var collection = new
ListBox
.IntegerCollection(owner);
1351
using
ListBox
owner = new()
1356
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
1388
using
ListBox
owner = new()
1393
var collection = new
ListBox
.IntegerCollection(owner);
1441
using
ListBox
owner = new()
1446
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
1493
using
ListBox
owner = new();
1494
var collection = new
ListBox
.IntegerCollection(owner);
1504
using
ListBox
owner = new();
1505
var collection = new
ListBox
.IntegerCollection(owner)
1515
using
ListBox
owner = new();
1516
IList collection = new
ListBox
.IntegerCollection(owner)
1535
using
ListBox
owner = new();
1536
IList collection = new
ListBox
.IntegerCollection(owner);
1546
using
ListBox
owner = new();
1547
IList collection = new
ListBox
.IntegerCollection(owner)
1557
using
ListBox
owner = new();
1558
IList collection = new
ListBox
.IntegerCollection(owner)
1588
using
ListBox
owner = new();
1617
using
ListBox
owner = new();
1618
IList collection = new
ListBox
.IntegerCollection(owner)
1664
using
ListBox
owner = new();
1712
using
ListBox
owner = new();
1713
IList collection = new
ListBox
.IntegerCollection(owner);
1723
using
ListBox
owner = new();
1724
IList collection = new
ListBox
.IntegerCollection(owner)
1740
using
ListBox
owner = new();
1741
IList collection = new
ListBox
.IntegerCollection(owner);
1752
using
ListBox
owner = new()
1757
IList collection = new
ListBox
.IntegerCollection(owner);
1795
using
ListBox
owner = new()
1838
using
ListBox
owner = new()
1843
IList collection = new
ListBox
.IntegerCollection(owner);
1900
using
ListBox
owner = new()
1960
using
ListBox
owner = new();
1961
IList collection = new
ListBox
.IntegerCollection(owner);
1968
using
ListBox
owner = new();
1969
IList collection = new
ListBox
.IntegerCollection(owner);
1980
using
ListBox
owner = new();
1981
IList collection = new
ListBox
.IntegerCollection(owner)
2006
using
ListBox
owner = new();
2007
IList collection = new
ListBox
.IntegerCollection(owner);
2027
using
ListBox
owner = new();
2048
using
ListBox
owner = new();
2049
IList collection = new
ListBox
.IntegerCollection(owner)
2073
using
ListBox
owner = new();
2096
using
ListBox
owner = new();
2097
IList collection = new
ListBox
.IntegerCollection(owner);
2131
using
ListBox
owner = new();
2166
using
ListBox
owner = new();
2167
IList collection = new
ListBox
.IntegerCollection(owner);
2202
using
ListBox
owner = new();
2238
using
ListBox
owner = new();
2239
IList collection = new
ListBox
.IntegerCollection(owner);
2261
using
ListBox
owner = new();
2262
IList collection = new
ListBox
.IntegerCollection(owner)
2290
using
ListBox
owner = new();
2291
IList collection = new
ListBox
.IntegerCollection(owner);
2302
using
ListBox
owner = new();
2303
IList collection = new
ListBox
.IntegerCollection(owner)
2332
using
ListBox
owner = new()
2337
IList collection = new
ListBox
.IntegerCollection(owner)
2381
using
ListBox
owner = new()
2428
using
ListBox
owner = new()
2433
IList collection = new
ListBox
.IntegerCollection(owner)
2496
using
ListBox
owner = new()
2560
using
ListBox
owner = new();
2561
IList collection = new
ListBox
.IntegerCollection(owner);
2572
using
ListBox
owner = new()
2577
IList collection = new
ListBox
.IntegerCollection(owner)
2614
using
ListBox
owner = new()
2654
using
ListBox
owner = new()
2659
IList collection = new
ListBox
.IntegerCollection(owner)
2712
using
ListBox
owner = new()
2767
using
ListBox
owner = new();
2768
IList collection = new
ListBox
.IntegerCollection(owner);
2778
using
ListBox
owner = new();
2779
IList collection = new
ListBox
.IntegerCollection(owner)
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (611)
15
using
ListBox
owner = new();
16
var collection = new
ListBox
.ObjectCollection(owner);
26
using
ListBox
owner = new();
27
var collection = new
ListBox
.ObjectCollection(owner, (object[])[3, 2, 1]);
37
using
ListBox
otherOwner = new();
38
var otherCollection = new
ListBox
.ObjectCollection(otherOwner, (object[])[3, 2, 1]);
39
using
ListBox
owner = new();
40
var collection = new
ListBox
.ObjectCollection(owner, otherCollection);
50
using
ListBox
owner = new();
51
Assert.Throws<ArgumentNullException>("owner", () => new
ListBox
.ObjectCollection(null));
52
Assert.Throws<ArgumentNullException>("owner", () => new
ListBox
.ObjectCollection(null, new
ListBox
.ObjectCollection(owner)));
53
Assert.Throws<ArgumentNullException>("owner", () => new
ListBox
.ObjectCollection(null, Array.Empty<object>()));
59
using
ListBox
owner = new()
63
using
ListBox
otherOwner = new();
64
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
66
var emptyCollection = new
ListBox
.ObjectCollection(owner);
72
Assert.Throws<ArgumentException>(() => new
ListBox
.ObjectCollection(owner, Array.Empty<object>()));
73
Assert.Throws<ArgumentException>(() => new
ListBox
.ObjectCollection(owner, otherCollection));
79
using
ListBox
owner = new();
80
Assert.Throws<ArgumentNullException>("value", () => new
ListBox
.ObjectCollection(owner, (object[])null));
81
Assert.Throws<ArgumentNullException>("value", () => new
ListBox
.ObjectCollection(owner, (
ListBox
.ObjectCollection)null));
87
using
ListBox
owner = new();
88
ICollection collection = new
ListBox
.ObjectCollection(owner);
97
using
ListBox
owner = new();
98
IList collection = new
ListBox
.ObjectCollection(owner);
109
using
ListBox
owner = new();
110
var collection = new
ListBox
.ObjectCollection(owner);
122
using
ListBox
owner = new()
126
var collection = new
ListBox
.ObjectCollection(owner);
141
using
ListBox
owner = new();
142
var collection = new
ListBox
.ObjectCollection(owner);
152
using
ListBox
owner = new();
153
var collection = new
ListBox
.ObjectCollection(owner)
163
using
ListBox
owner = new();
164
var collection = new
ListBox
.ObjectCollection(owner);
201
using
ListBox
owner = new()
205
var collection = new
ListBox
.ObjectCollection(owner);
242
using
ListBox
owner = new();
243
ListBox
.ObjectCollection collection = owner.Items;
280
using
ListBox
owner = new()
284
ListBox
.ObjectCollection collection = owner.Items;
498
using
ListBox
owner = new();
499
ListBox
.ObjectCollection collection = owner.Items;
584
using
ListBox
owner = new()
588
ListBox
.ObjectCollection collection = owner.Items;
673
using
ListBox
owner = new();
674
ListBox
.ObjectCollection collection = owner.Items;
719
using
ListBox
owner = new()
723
ListBox
.ObjectCollection collection = owner.Items;
770
using
ListBox
owner = new()
774
ListBox
.ObjectCollection collection = owner.Items;
839
using
ListBox
owner = new()
844
ListBox
.ObjectCollection collection = owner.Items;
907
using
ListBox
owner = new();
908
ListBox
.ObjectCollection collection = owner.Items;
977
using
ListBox
owner = new()
981
ListBox
.ObjectCollection collection = owner.Items;
1052
using
ListBox
owner = new()
1056
ListBox
.ObjectCollection collection = owner.Items;
1151
using
ListBox
owner = new()
1156
ListBox
.ObjectCollection collection = owner.Items;
1253
using
ListBox
owner = new();
1254
var collection = new
ListBox
.ObjectCollection(owner);
1265
using
ListBox
owner = new();
1266
var collection = new
ListBox
.ObjectCollection(owner)
1279
using
ListBox
owner = new();
1280
var collection = new
ListBox
.ObjectCollection(owner);
1290
using
ListBox
owner = new();
1291
var collection = new
ListBox
.ObjectCollection(owner)
1301
using
ListBox
owner = new();
1302
var collection = new
ListBox
.ObjectCollection(owner);
1342
using
ListBox
owner = new();
1343
ListBox
.ObjectCollection collection = owner.Items;
1383
using
ListBox
owner = new()
1387
var collection = new
ListBox
.ObjectCollection(owner);
1427
using
ListBox
owner = new()
1431
ListBox
.ObjectCollection collection = owner.Items;
1471
using
ListBox
owner = new();
1472
var collection = new
ListBox
.ObjectCollection(owner);
1550
using
ListBox
owner = new();
1551
ListBox
.ObjectCollection collection = owner.Items;
1629
using
ListBox
owner = new()
1633
var collection = new
ListBox
.ObjectCollection(owner);
1711
using
ListBox
owner = new()
1715
ListBox
.ObjectCollection collection = owner.Items;
1793
using
ListBox
owner = new();
1794
ListBox
.ObjectCollection collection = owner.Items;
1822
using
ListBox
owner = new()
1826
ListBox
.ObjectCollection collection = owner.Items;
1856
using
ListBox
owner = new()
1860
ListBox
.ObjectCollection collection = owner.Items;
1900
using
ListBox
owner = new()
1905
ListBox
.ObjectCollection collection = owner.Items;
1939
using
ListBox
owner = new();
1940
ListBox
.ObjectCollection collection = owner.Items;
1981
using
ListBox
owner = new()
1985
ListBox
.ObjectCollection collection = owner.Items;
2028
using
ListBox
owner = new()
2032
ListBox
.ObjectCollection collection = owner.Items;
2088
using
ListBox
owner = new()
2093
ListBox
.ObjectCollection collection = owner.Items;
2146
using
ListBox
owner = new();
2147
var collection = new
ListBox
.ObjectCollection(owner)
2162
using
ListBox
owner = new();
2163
ListBox
.ObjectCollection collection = owner.Items;
2184
using
ListBox
owner = new();
2185
var collection = new
ListBox
.ObjectCollection(owner);
2192
using
ListBox
owner = new()
2196
var collection = new
ListBox
.ObjectCollection(owner);
2212
var collection = new
ListBox
.ObjectCollection(owner);
2220
using
ListBox
owner = new();
2221
var collection = new
ListBox
.ObjectCollection(owner);
2244
using
ListBox
owner = new();
2245
ListBox
.ObjectCollection collection = owner.Items;
2268
using
ListBox
owner = new()
2272
var collection = new
ListBox
.ObjectCollection(owner);
2295
using
ListBox
owner = new()
2299
ListBox
.ObjectCollection collection = owner.Items;
2322
using
ListBox
owner = new();
2323
var collection = new
ListBox
.ObjectCollection(owner);
2374
using
ListBox
owner = new();
2375
ListBox
.ObjectCollection collection = owner.Items;
2426
using
ListBox
owner = new()
2430
var collection = new
ListBox
.ObjectCollection(owner);
2481
using
ListBox
owner = new()
2485
ListBox
.ObjectCollection collection = owner.Items;
2536
using
ListBox
owner = new();
2537
ListBox
.ObjectCollection collection = owner.Items;
2564
using
ListBox
owner = new()
2568
ListBox
.ObjectCollection collection = owner.Items;
2597
using
ListBox
owner = new()
2601
ListBox
.ObjectCollection collection = owner.Items;
2632
using
ListBox
owner = new()
2637
ListBox
.ObjectCollection collection = owner.Items;
2663
using
ListBox
owner = new();
2664
ListBox
.ObjectCollection collection = owner.Items;
2704
using
ListBox
owner = new()
2708
ListBox
.ObjectCollection collection = owner.Items;
2750
using
ListBox
owner = new()
2754
ListBox
.ObjectCollection collection = owner.Items;
2798
using
ListBox
owner = new()
2803
ListBox
.ObjectCollection collection = owner.Items;
2844
using
ListBox
owner = new();
2845
var collection = new
ListBox
.ObjectCollection(owner);
2855
using
ListBox
owner = new();
2856
ListBox
.ObjectCollection collection = owner.Items;
2874
using
ListBox
owner = new();
2875
var collection = new
ListBox
.ObjectCollection(owner);
2879
using
ListBox
otherOwner = new();
2880
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
2890
using
ListBox
emptyOwner = new();
2891
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
2903
using
ListBox
owner = new();
2904
ListBox
.ObjectCollection collection = owner.Items;
2908
using
ListBox
otherOwner = new();
2909
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
2919
using
ListBox
emptyOwner = new();
2920
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
2932
using
ListBox
owner = new()
2936
var collection = new
ListBox
.ObjectCollection(owner);
2940
using
ListBox
otherOwner = new();
2941
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
2951
using
ListBox
emptyOwner = new();
2952
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
2964
using
ListBox
owner = new()
2968
ListBox
.ObjectCollection collection = owner.Items;
2972
using
ListBox
otherOwner = new();
2973
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
2983
using
ListBox
emptyOwner = new();
2984
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
2996
using
ListBox
owner = new();
2997
var collection = new
ListBox
.ObjectCollection(owner);
3007
using
ListBox
otherOwner = new();
3008
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3029
using
ListBox
emptyOwner = new();
3030
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3053
using
ListBox
owner = new();
3054
ListBox
.ObjectCollection collection = owner.Items;
3064
using
ListBox
otherOwner = new();
3065
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3086
using
ListBox
emptyOwner = new();
3087
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3110
using
ListBox
owner = new()
3114
var collection = new
ListBox
.ObjectCollection(owner);
3124
using
ListBox
otherOwner = new();
3125
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3146
using
ListBox
emptyOwner = new();
3147
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3170
using
ListBox
owner = new()
3174
ListBox
.ObjectCollection collection = owner.Items;
3184
using
ListBox
otherOwner = new();
3185
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3206
using
ListBox
emptyOwner = new();
3207
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3230
using
ListBox
owner = new();
3231
ListBox
.ObjectCollection collection = owner.Items;
3239
using
ListBox
otherOwner = new();
3240
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3250
using
ListBox
emptyOwner = new();
3251
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3263
using
ListBox
owner = new()
3267
ListBox
.ObjectCollection collection = owner.Items;
3275
using
ListBox
otherOwner = new();
3276
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3286
using
ListBox
emptyOwner = new();
3287
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3301
using
ListBox
owner = new()
3305
ListBox
.ObjectCollection collection = owner.Items;
3315
using
ListBox
otherOwner = new();
3316
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3326
using
ListBox
emptyOwner = new();
3327
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3341
using
ListBox
owner = new()
3346
ListBox
.ObjectCollection collection = owner.Items;
3355
using
ListBox
otherOwner = new();
3356
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3365
using
ListBox
emptyOwner = new();
3366
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3377
using
ListBox
owner = new();
3378
ListBox
.ObjectCollection collection = owner.Items;
3393
using
ListBox
otherOwner = new();
3394
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3407
using
ListBox
emptyOwner = new();
3408
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3423
using
ListBox
owner = new()
3427
ListBox
.ObjectCollection collection = owner.Items;
3442
using
ListBox
otherOwner = new();
3443
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3456
using
ListBox
emptyOwner = new();
3457
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3474
using
ListBox
owner = new()
3478
ListBox
.ObjectCollection collection = owner.Items;
3495
using
ListBox
otherOwner = new();
3496
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3509
using
ListBox
emptyOwner = new();
3510
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3527
using
ListBox
owner = new()
3532
ListBox
.ObjectCollection collection = owner.Items;
3548
using
ListBox
otherOwner = new();
3549
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3562
using
ListBox
emptyOwner = new();
3563
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3578
using
ListBox
owner = new();
3579
var collection = new
ListBox
.ObjectCollection(owner);
3580
using
ListBox
otherOwner = new();
3581
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3592
using
ListBox
owner = new();
3593
ListBox
.ObjectCollection collection = owner.Items;
3594
using
ListBox
otherOwner = new();
3595
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3614
using
ListBox
owner = new();
3615
var collection = new
ListBox
.ObjectCollection(owner);
3623
using
ListBox
owner = new();
3624
var collection = new
ListBox
.ObjectCollection(owner)
3635
using
ListBox
owner = new();
3636
var collection = new
ListBox
.ObjectCollection(owner)
3648
using
ListBox
owner = new();
3649
var collection = new
ListBox
.ObjectCollection(owner);
3651
Assert.Throws<ArgumentNullException>("value", () => collection.AddRange((
ListBox
.ObjectCollection)null));
3657
using
ListBox
owner = new();
3658
var collection = new
ListBox
.ObjectCollection(owner);
3665
using
ListBox
owner = new()
3669
var collection = new
ListBox
.ObjectCollection(owner);
3670
using
ListBox
otherOwner = new();
3671
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3688
var collection = new
ListBox
.ObjectCollection(owner);
3690
using
ListBox
otherOwner = new();
3691
var otherCollection = new
ListBox
.ObjectCollection(otherOwner)
3703
using
ListBox
owner = new();
3704
var collection = new
ListBox
.ObjectCollection(owner);
3724
using
ListBox
owner = new();
3725
ListBox
.ObjectCollection collection = owner.Items;
3745
using
ListBox
owner = new();
3746
var collection = new
ListBox
.ObjectCollection(owner)
3770
using
ListBox
owner = new();
3771
ListBox
.ObjectCollection collection = owner.Items;
3793
using
ListBox
owner = new();
3794
var collection = new
ListBox
.ObjectCollection(owner);
3830
using
ListBox
owner = new();
3831
ListBox
.ObjectCollection collection = owner.Items;
3867
using
ListBox
owner = new();
3868
var collection = new
ListBox
.ObjectCollection(owner);
3905
using
ListBox
owner = new();
3906
ListBox
.ObjectCollection collection = owner.Items;
3943
using
ListBox
owner = new();
3944
var collection = new
ListBox
.ObjectCollection(owner);
3954
using
ListBox
owner = new();
3955
var collection = new
ListBox
.ObjectCollection(owner)
3978
using
ListBox
owner = new();
3979
var collection = new
ListBox
.ObjectCollection(owner);
3986
using
ListBox
owner = new();
3987
var collection = new
ListBox
.ObjectCollection(owner);
3996
using
ListBox
owner = new();
3997
var collection = new
ListBox
.ObjectCollection(owner)
4010
using
ListBox
owner = new();
4011
var collection = new
ListBox
.ObjectCollection(owner);
4018
using
ListBox
owner = new();
4019
var collection = new
ListBox
.ObjectCollection(owner)
4029
using
ListBox
owner = new();
4030
var collection = new
ListBox
.ObjectCollection(owner);
4052
using
ListBox
owner = new();
4053
var collection = new
ListBox
.ObjectCollection(owner)
4081
using
ListBox
owner = new();
4082
var collection = new
ListBox
.ObjectCollection(owner);
4092
using
ListBox
owner = new();
4093
var collection = new
ListBox
.ObjectCollection(owner)
4116
using
ListBox
owner = new();
4117
var collection = new
ListBox
.ObjectCollection(owner);
4124
using
ListBox
owner = new();
4125
var collection = new
ListBox
.ObjectCollection(owner);
4165
using
ListBox
owner = new();
4166
ListBox
.ObjectCollection collection = owner.Items;
4206
using
ListBox
owner = new()
4210
var collection = new
ListBox
.ObjectCollection(owner);
4250
using
ListBox
owner = new()
4254
ListBox
.ObjectCollection collection = owner.Items;
4294
using
ListBox
owner = new();
4295
var collection = new
ListBox
.ObjectCollection(owner);
4373
using
ListBox
owner = new();
4374
ListBox
.ObjectCollection collection = owner.Items;
4452
using
ListBox
owner = new()
4456
var collection = new
ListBox
.ObjectCollection(owner);
4534
using
ListBox
owner = new()
4538
ListBox
.ObjectCollection collection = owner.Items;
4616
using
ListBox
owner = new();
4617
ListBox
.ObjectCollection collection = owner.Items;
4645
using
ListBox
owner = new()
4649
ListBox
.ObjectCollection collection = owner.Items;
4673
using
ListBox
owner = new()
4677
ListBox
.ObjectCollection collection = owner.Items;
4717
using
ListBox
owner = new()
4722
ListBox
.ObjectCollection collection = owner.Items;
4754
using
ListBox
owner = new();
4755
ListBox
.ObjectCollection collection = owner.Items;
4796
using
ListBox
owner = new()
4800
ListBox
.ObjectCollection collection = owner.Items;
4843
using
ListBox
owner = new()
4847
ListBox
.ObjectCollection collection = owner.Items;
4903
using
ListBox
owner = new()
4908
ListBox
.ObjectCollection collection = owner.Items;
4961
using
ListBox
owner = new();
4962
var collection = new
ListBox
.ObjectCollection(owner);
4975
using
ListBox
owner = new();
4976
ListBox
.ObjectCollection collection = owner.Items;
5000
using
ListBox
owner = new();
5001
var collection = new
ListBox
.ObjectCollection(owner);
5011
using
ListBox
owner = new();
5012
var collection = new
ListBox
.ObjectCollection(owner)
5022
using
ListBox
owner = new();
5023
var collection = new
ListBox
.ObjectCollection(owner);
5030
using
ListBox
owner = new()
5034
var collection = new
ListBox
.ObjectCollection(owner);
5050
var collection = new
ListBox
.ObjectCollection(owner);
5058
using
ListBox
owner = new();
5059
var collection = new
ListBox
.ObjectCollection(owner)
5104
using
ListBox
owner = new();
5105
ListBox
.ObjectCollection collection = owner.Items;
5145
using
ListBox
owner = new()
5149
var collection = new
ListBox
.ObjectCollection(owner)
5194
using
ListBox
owner = new()
5198
ListBox
.ObjectCollection collection = owner.Items;
5238
using
ListBox
owner = new();
5239
var collection = new
ListBox
.ObjectCollection(owner);
5310
using
ListBox
owner = new();
5311
ListBox
.ObjectCollection collection = owner.Items;
5387
using
ListBox
owner = new()
5391
var collection = new
ListBox
.ObjectCollection(owner);
5462
using
ListBox
owner = new()
5466
ListBox
.ObjectCollection collection = owner.Items;
5542
using
ListBox
owner = new();
5543
ListBox
.ObjectCollection collection = owner.Items;
5580
using
ListBox
owner = new()
5584
ListBox
.ObjectCollection collection = owner.Items;
5623
using
ListBox
owner = new()
5627
ListBox
.ObjectCollection collection = owner.Items;
5675
using
ListBox
owner = new()
5680
ListBox
.ObjectCollection collection = owner.Items;
5725
using
ListBox
owner = new();
5726
ListBox
.ObjectCollection collection = owner.Items;
5784
using
ListBox
owner = new()
5788
ListBox
.ObjectCollection collection = owner.Items;
5848
using
ListBox
owner = new()
5852
ListBox
.ObjectCollection collection = owner.Items;
5916
using
ListBox
owner = new()
5921
ListBox
.ObjectCollection collection = owner.Items;
5982
using
ListBox
owner = new()
5986
var collection = new
ListBox
.ObjectCollection(owner);
5993
using
ListBox
owner = new()
5997
var collection = new
ListBox
.ObjectCollection(owner);
6005
using
ListBox
owner = new();
6006
var collection = new
ListBox
.ObjectCollection(owner)
6043
using
ListBox
owner = new();
6044
ListBox
.ObjectCollection collection = owner.Items;
6077
using
ListBox
owner = new()
6081
var collection = new
ListBox
.ObjectCollection(owner)
6118
using
ListBox
owner = new()
6122
ListBox
.ObjectCollection collection = owner.Items;
6155
using
ListBox
owner = new();
6156
var collection = new
ListBox
.ObjectCollection(owner);
6212
using
ListBox
owner = new();
6213
ListBox
.ObjectCollection collection = owner.Items;
6273
using
ListBox
owner = new()
6277
var collection = new
ListBox
.ObjectCollection(owner);
6333
using
ListBox
owner = new()
6337
ListBox
.ObjectCollection collection = owner.Items;
6397
using
ListBox
owner = new();
6398
ListBox
.ObjectCollection collection = owner.Items;
6435
using
ListBox
owner = new()
6439
ListBox
.ObjectCollection collection = owner.Items;
6478
using
ListBox
owner = new()
6482
ListBox
.ObjectCollection collection = owner.Items;
6530
using
ListBox
owner = new()
6535
ListBox
.ObjectCollection collection = owner.Items;
6580
using
ListBox
owner = new();
6581
ListBox
.ObjectCollection collection = owner.Items;
6639
using
ListBox
owner = new()
6643
ListBox
.ObjectCollection collection = owner.Items;
6703
using
ListBox
owner = new()
6707
ListBox
.ObjectCollection collection = owner.Items;
6771
using
ListBox
owner = new()
6776
ListBox
.ObjectCollection collection = owner.Items;
6840
using
ListBox
owner = new();
6841
var collection = new
ListBox
.ObjectCollection(owner);
6851
using
ListBox
owner = new();
6852
var collection = new
ListBox
.ObjectCollection(owner)
6862
using
ListBox
owner = new()
6866
var collection = new
ListBox
.ObjectCollection(owner);
6873
using
ListBox
owner = new()
6877
var collection = new
ListBox
.ObjectCollection(owner);
6884
using
ListBox
owner = new();
6885
IList collection = new
ListBox
.ObjectCollection(owner)
6902
using
ListBox
owner = new()
6906
IList collection = new
ListBox
.ObjectCollection(owner)
6926
using
ListBox
owner = new();
6927
IList collection = new
ListBox
.ObjectCollection(owner);
6937
using
ListBox
owner = new();
6938
IList collection = new
ListBox
.ObjectCollection(owner)
6948
using
ListBox
owner = new();
6949
IList collection = new
ListBox
.ObjectCollection(owner)
6990
using
ListBox
owner = new()
6994
IList collection = new
ListBox
.ObjectCollection(owner)
7035
using
ListBox
owner = new();
7075
using
ListBox
owner = new()
7299
using
ListBox
owner = new();
7387
using
ListBox
owner = new()
7478
using
ListBox
owner = new();
7524
using
ListBox
owner = new()
7575
using
ListBox
owner = new()
7644
using
ListBox
owner = new()
7712
using
ListBox
owner = new();
7782
using
ListBox
owner = new()
7857
using
ListBox
owner = new()
7956
using
ListBox
owner = new()
8058
using
ListBox
owner = new();
8059
IList collection = new
ListBox
.ObjectCollection(owner);
8070
using
ListBox
owner = new();
8071
IList collection = new
ListBox
.ObjectCollection(owner)
8084
using
ListBox
owner = new();
8085
IList collection = new
ListBox
.ObjectCollection(owner);
8095
using
ListBox
owner = new();
8096
IList collection = new
ListBox
.ObjectCollection(owner)
8106
using
ListBox
owner = new();
8107
IList collection = new
ListBox
.ObjectCollection(owner);
8147
using
ListBox
owner = new();
8188
using
ListBox
owner = new()
8192
IList collection = new
ListBox
.ObjectCollection(owner);
8232
using
ListBox
owner = new()
8276
using
ListBox
owner = new();
8277
IList collection = new
ListBox
.ObjectCollection(owner);
8355
using
ListBox
owner = new();
8434
using
ListBox
owner = new()
8438
IList collection = new
ListBox
.ObjectCollection(owner);
8516
using
ListBox
owner = new()
8598
using
ListBox
owner = new();
8627
using
ListBox
owner = new()
8661
using
ListBox
owner = new()
8705
using
ListBox
owner = new()
8744
using
ListBox
owner = new();
8786
using
ListBox
owner = new()
8833
using
ListBox
owner = new()
8893
using
ListBox
owner = new()
8951
using
ListBox
owner = new();
8952
IList collection = new
ListBox
.ObjectCollection(owner)
8967
using
ListBox
owner = new();
8989
using
ListBox
owner = new();
8990
IList collection = new
ListBox
.ObjectCollection(owner);
8997
using
ListBox
owner = new()
9001
IList collection = new
ListBox
.ObjectCollection(owner);
9017
IList collection = new
ListBox
.ObjectCollection(owner);
9025
using
ListBox
owner = new();
9026
IList collection = new
ListBox
.ObjectCollection(owner);
9046
using
ListBox
owner = new();
9067
using
ListBox
owner = new();
9068
IList collection = new
ListBox
.ObjectCollection(owner)
9092
using
ListBox
owner = new();
9115
using
ListBox
owner = new();
9116
IList collection = new
ListBox
.ObjectCollection(owner);
9152
using
ListBox
owner = new();
9189
using
ListBox
owner = new();
9190
IList collection = new
ListBox
.ObjectCollection(owner);
9227
using
ListBox
owner = new();
9265
using
ListBox
owner = new();
9266
IList collection = new
ListBox
.ObjectCollection(owner);
9276
using
ListBox
owner = new();
9277
IList collection = new
ListBox
.ObjectCollection(owner)
9300
using
ListBox
owner = new();
9301
IList collection = new
ListBox
.ObjectCollection(owner);
9308
using
ListBox
owner = new();
9309
IList collection = new
ListBox
.ObjectCollection(owner);
9318
using
ListBox
owner = new();
9319
IList collection = new
ListBox
.ObjectCollection(owner)
9332
using
ListBox
owner = new();
9333
IList collection = new
ListBox
.ObjectCollection(owner);
9340
using
ListBox
owner = new();
9341
IList collection = new
ListBox
.ObjectCollection(owner)
9351
using
ListBox
owner = new();
9352
IList collection = new
ListBox
.ObjectCollection(owner);
9374
using
ListBox
owner = new();
9375
IList collection = new
ListBox
.ObjectCollection(owner)
9403
using
ListBox
owner = new();
9404
IList collection = new
ListBox
.ObjectCollection(owner);
9414
using
ListBox
owner = new();
9415
IList collection = new
ListBox
.ObjectCollection(owner)
9438
using
ListBox
owner = new();
9439
IList collection = new
ListBox
.ObjectCollection(owner);
9446
using
ListBox
owner = new();
9447
IList collection = new
ListBox
.ObjectCollection(owner);
9487
using
ListBox
owner = new();
9528
using
ListBox
owner = new()
9532
IList collection = new
ListBox
.ObjectCollection(owner);
9572
using
ListBox
owner = new()
9616
using
ListBox
owner = new();
9617
IList collection = new
ListBox
.ObjectCollection(owner);
9695
using
ListBox
owner = new();
9774
using
ListBox
owner = new()
9778
IList collection = new
ListBox
.ObjectCollection(owner);
9856
using
ListBox
owner = new()
9938
using
ListBox
owner = new();
9967
using
ListBox
owner = new()
9995
using
ListBox
owner = new()
10039
using
ListBox
owner = new()
10076
using
ListBox
owner = new();
10118
using
ListBox
owner = new()
10165
using
ListBox
owner = new()
10225
using
ListBox
owner = new()
10283
using
ListBox
owner = new();
10284
IList collection = new
ListBox
.ObjectCollection(owner);
10297
using
ListBox
owner = new();
10322
using
ListBox
owner = new();
10323
IList collection = new
ListBox
.ObjectCollection(owner);
10333
using
ListBox
owner = new();
10334
IList collection = new
ListBox
.ObjectCollection(owner)
10344
using
ListBox
owner = new();
10345
IList collection = new
ListBox
.ObjectCollection(owner);
10352
using
ListBox
owner = new()
10356
IList collection = new
ListBox
.ObjectCollection(owner);
10372
IList collection = new
ListBox
.ObjectCollection(owner);
10380
using
ListBox
owner = new();
10381
IList collection = new
ListBox
.ObjectCollection(owner)
10426
using
ListBox
owner = new();
10467
using
ListBox
owner = new()
10471
IList collection = new
ListBox
.ObjectCollection(owner)
10516
using
ListBox
owner = new()
10560
using
ListBox
owner = new();
10561
IList collection = new
ListBox
.ObjectCollection(owner);
10632
using
ListBox
owner = new();
10709
using
ListBox
owner = new()
10713
IList collection = new
ListBox
.ObjectCollection(owner);
10784
using
ListBox
owner = new()
10864
using
ListBox
owner = new();
10902
using
ListBox
owner = new()
10945
using
ListBox
owner = new()
10997
using
ListBox
owner = new()
11047
using
ListBox
owner = new();
11106
using
ListBox
owner = new()
11170
using
ListBox
owner = new()
11238
using
ListBox
owner = new()
11304
using
ListBox
owner = new()
11308
IList collection = new
ListBox
.ObjectCollection(owner);
11315
using
ListBox
owner = new()
11319
IList collection = new
ListBox
.ObjectCollection(owner);
11327
using
ListBox
owner = new();
11328
IList collection = new
ListBox
.ObjectCollection(owner)
11365
using
ListBox
owner = new();
11399
using
ListBox
owner = new()
11403
IList collection = new
ListBox
.ObjectCollection(owner)
11440
using
ListBox
owner = new()
11477
using
ListBox
owner = new();
11478
IList collection = new
ListBox
.ObjectCollection(owner);
11534
using
ListBox
owner = new();
11595
using
ListBox
owner = new()
11599
IList collection = new
ListBox
.ObjectCollection(owner);
11655
using
ListBox
owner = new()
11719
using
ListBox
owner = new();
11757
using
ListBox
owner = new()
11800
using
ListBox
owner = new()
11852
using
ListBox
owner = new()
11902
using
ListBox
owner = new();
11961
using
ListBox
owner = new()
12025
using
ListBox
owner = new()
12093
using
ListBox
owner = new()
12162
using
ListBox
owner = new();
12163
IList collection = new
ListBox
.ObjectCollection(owner);
12173
using
ListBox
owner = new();
12174
IList collection = new
ListBox
.ObjectCollection(owner)
12184
using
ListBox
owner = new()
12188
IList collection = new
ListBox
.ObjectCollection(owner);
12195
using
ListBox
owner = new()
12199
IList collection = new
ListBox
.ObjectCollection(owner);
System\Windows\Forms\ListBox.SelectedIndexCollectionTests.cs (23)
13
using
ListBox
owner = new();
14
var collection = new
ListBox
.SelectedIndexCollection(owner);
22
using
ListBox
owner = new();
23
Assert.Throws<ArgumentNullException>("owner", () => new
ListBox
.SelectedIndexCollection(null!));
29
using
ListBox
owner = new();
30
ICollection collection = new
ListBox
.SelectedIndexCollection(owner);
39
using
ListBox
owner = new();
40
IList collection = new
ListBox
.SelectedIndexCollection(owner);
60
using
ListBox
owner = new();
61
IList collection = new
ListBox
.SelectedIndexCollection(owner);
71
using
ListBox
owner = new();
72
IList collection = new
ListBox
.SelectedIndexCollection(owner);
79
using
ListBox
owner = new();
80
IList collection = new
ListBox
.SelectedIndexCollection(owner);
96
using
ListBox
owner = new();
97
IList collection = new
ListBox
.SelectedIndexCollection(owner);
107
using
ListBox
owner = new();
108
IList collection = new
ListBox
.SelectedIndexCollection(owner);
118
using
ListBox
owner = new();
119
IList collection = new
ListBox
.SelectedIndexCollection(owner);
126
using
ListBox
listBox = new()
141
using
ListBox
listBox = new()
157
using
ListBox
listBox = new()
System\Windows\Forms\ListBox.SelectedObjectCollectionTests.cs (3)
10
private readonly
ListBox
_owner;
11
private readonly
ListBox
.SelectedObjectCollection _collection;
28
=> Assert.Throws<ArgumentNullException>("owner", () => new
ListBox
.SelectedObjectCollection(null!));
System\Windows\Forms\ListBoxTests.cs (180)
359
using
ListBox
control = new()
382
using
ListBox
control = new();
410
using
ListBox
control = new();
445
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ListBox
))[nameof(
ListBox
.BackColor)];
446
using
ListBox
control = new();
461
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ListBox
))[nameof(
ListBox
.BackColor)];
462
using
ListBox
control = new();
478
using
ListBox
control = new()
494
using
ListBox
control = new();
537
using
ListBox
control = new()
553
using
ListBox
control = new();
589
using
ListBox
control = new();
597
using
ListBox
control = new()
618
using
ListBox
control = new();
649
using
ListBox
control = new();
660
using
ListBox
control = new()
679
using
ListBox
control = new()
700
using
ListBox
control = new();
731
using
ListBox
control = new()
761
using
ListBox
control = new()
778
using
ListBox
control = new();
819
using
ListBox
control = new();
890
using
ListBox
control = new()
931
using
ListBox
control = new()
991
using
ListBox
control = new()
1028
using
ListBox
control = new();
1035
using
ListBox
control = new()
1201
using
ListBox
control = new();
1253
using
ListBox
control = new()
1279
using
ListBox
control = new();
1307
using
ListBox
control = new();
1342
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ListBox
))[nameof(
ListBox
.ForeColor)];
1343
using
ListBox
control = new();
1358
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ListBox
))[nameof(
ListBox
.ForeColor)];
1359
using
ListBox
control = new();
1388
using
ListBox
control = new()
1420
using
ListBox
control = new()
1456
using
ListBox
control = new()
1482
using
ListBox
control = new()
1508
using
ListBox
control = new()
1546
using
ListBox
control = new()
1597
using
ListBox
control = new()
1643
using
ListBox
control = new()
1669
using
ListBox
control = new();
1722
using
ListBox
control = new()
1759
using
ListBox
control = new()
1796
using
ListBox
control = new()
1811
using
ListBox
control = new();
1818
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ListBox
))[nameof(
ListBox
.ItemHeight)];
1819
using
ListBox
control = new();
1835
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ListBox
))[nameof(
ListBox
.ItemHeight)];
1836
using
ListBox
control = new();
1851
yield return new object[] { new
ListBox
.ObjectCollection(new ListBox()) };
1856
public void ListBox_Items_GetCustomCreateItemCollection_ReturnsExpected(
ListBox
.ObjectCollection result)
1886
using
ListBox
control = new()
1917
using
ListBox
control = new()
1956
using
ListBox
control = new()
1971
using
ListBox
control = new()
1988
using
ListBox
control = new();
2016
using
ListBox
control = new();
2070
using
ListBox
control = new()
2099
using
ListBox
control = new()
2129
using
ListBox
control = new()
2153
using
ListBox
control = new()
2179
using
ListBox
control = new()
2195
using
ListBox
control = new();
2231
using
ListBox
control = new();
2239
using
ListBox
control = new()
2262
using
ListBox
control = new();
2299
using
ListBox
control = new()
2312
using
ListBox
control = new()
2328
using
ListBox
control = new()
2351
using
ListBox
control = new()
2396
using
ListBox
control = new()
2494
using
ListBox
control = new()
2558
using
ListBox
control = new()
2621
using
ListBox
control = new()
2648
using
ListBox
control = new()
2683
using
ListBox
control = new()
2734
using
ListBox
control = new();
2743
using
ListBox
control = new();
2751
using
ListBox
control = new()
2762
using
ListBox
control = new()
2775
using
ListBox
control = new()
2794
using
ListBox
control = new()
2817
using
ListBox
control = new()
2870
using
ListBox
control = new()
2985
using
ListBox
control = new()
3060
using
ListBox
control = new()
3134
using
ListBox
control = new()
3165
using
ListBox
control = new()
3207
using
ListBox
control = new()
3263
using
ListBox
control = new()
3274
using
ListBox
control = new()
3361
using
ListBox
control = new()
3397
using
ListBox
control = new()
3425
using
ListBox
control = new();
3461
using
ListBox
control = new();
3499
using
ListBox
control = new()
3541
using
ListBox
control = new()
3585
using
ListBox
control = new();
3644
using
ListBox
control = new()
3685
using
ListBox
control = new();
3737
using
ListBox
control = new();
3791
using
ListBox
control = new()
3849
using
ListBox
control = new()
3906
using
ListBox
control = new();
3914
using
ListBox
control = new()
3939
using
ListBox
control = new();
3970
using
ListBox
control = new();
3996
using
ListBox
control = new();
4036
using
ListBox
control = new();
4077
using
ListBox
control = new();
4119
using
ListBox
control = new()
4161
using
ListBox
control = new()
4212
using
ListBox
control = new()
4238
using
ListBox
control = new();
4268
using
ListBox
control = new();
4303
using
ListBox
control = new();
4317
using
ListBox
control = new()
4338
using
ListBox
control = new();
4361
using
ListBox
control = new();
4396
using
ListBox
control = new();
4426
using
ListBox
control = new();
4440
using
ListBox
control = new()
4463
using
ListBox
control = new();
4500
using
ListBox
control = new()
4523
using
ListBox
control = new();
4630
using
ListBox
control = new();
4650
using
ListBox
control = new();
4690
using
ListBox
control = new();
4712
using
ListBox
control = new();
4775
ListBox
.ObjectCollection items = Assert.IsType<
ListBox
.ObjectCollection>(control.CreateItemCollection());
4804
using
ListBox
control = new()
4820
using
ListBox
control = new()
4837
using
ListBox
control = new()
4869
using
ListBox
control = new()
4943
using
ListBox
controlWithNoItems = new();
4950
using
ListBox
controlWithItems = new()
5018
public void ListBox_FindString_Invoke_ReturnsExpected(
ListBox
control, string s, int startIndex, int expected)
5034
using
ListBox
control = new();
5047
using
ListBox
controlWithNoItems = new();
5054
using
ListBox
controlWithItems = new()
5122
public void ListBox_FindStringExact_Invoke_ReturnsExpected(
ListBox
control, string s, int startIndex, int expected)
5138
using
ListBox
control = new();
5147
using
ListBox
control = new()
5168
using
ListBox
control = new()
5184
using
ListBox
control = new()
5207
using
ListBox
control = new()
5310
using
ListBox
control = new();
5320
using
ListBox
control = new();
5328
using
ListBox
control = new();
5351
using
ListBox
control = new();
5454
using
ListBox
control = new();
5463
using
ListBox
control = new();
5474
using
ListBox
control = new();
5483
using
ListBox
control = new();
5976
using
ListBox
control = new();
5995
using
ListBox
control = new();
6082
using
ListBox
control = new();
6089
using
ListBox
control = new();
6105
using
ListBox
control = new();
6116
using
ListBox
listBox = new();
6157
using
ListBox
listBox = new() { SelectionMode = mode };
6197
using
ListBox
listBox = new();
6233
using
ListBox
listBox = new() { SelectionMode = mode };
6269
using
ListBox
listBox = new() { FormattingEnabled = formattingEnabled };
6290
using
ListBox
listBox = new()
6312
using
ListBox
listBox = new();
6325
using
ListBox
listBox = new();
6342
using
ListBox
listBox = new();
6355
using
ListBox
listBox = new()
6379
using
ListBox
listBox = new()
System.Windows.Forms.UI.IntegrationTests (17)
DragDropTests.cs (6)
639
public
ListBox
ListDragSource;
640
public
ListBox
ListDragTarget;
712
if (_indexOfItemUnderMouseToDrag !=
ListBox
.NoMatches)
870
if (_indexOfItemUnderMouseToDrop !=
ListBox
.NoMatches)
893
if (_indexOfItemUnderMouseToDrop !=
ListBox
.NoMatches)
909
if (sender is
ListBox
lb)
ListBoxAccesibleObjectTests.cs (3)
15
using
ListBox
listBox = new();
36
using
ListBox
listBox = new() { Parent = form, Items = { "Item 1", "Item 2" } };
50
using
ListBox
listBox = new() { Parent = form, Items = { "Item 1", "Item 2" } };
ListBoxItemAccessibleObjestTests.cs (8)
15
using
ListBox
listBox = new() { Parent = form };
18
var itemAccessibleObject = listBox.AccessibilityObject.GetChild(0).Should().BeOfType<
ListBox
.ListBoxItemAccessibleObject>().Which;
38
using
ListBox
listBoxDoubleClick = new() { Items = { "Item 1" }, Parent = formDoubleClick };
41
var itemAccessibleObjectDoubleClick = listBoxDoubleClick.AccessibilityObject.GetChild(0).Should().BeOfType<
ListBox
.ListBoxItemAccessibleObject>().Which;
44
using
ListBox
listBoxNullAction = new ListBox { Items = { "Item 2" } };
45
var itemAccessibleObjectNullAction = listBoxNullAction.AccessibilityObject.GetChild(0).Should().BeOfType<
ListBox
.ListBoxItemAccessibleObject>().Which;
53
using
ListBox
listBox = new() { Parent = form };
56
var itemAccessibleObject = listBox.AccessibilityObject.GetChild(0).Should().BeOfType<
ListBox
.ListBoxItemAccessibleObject>().Which;
TestPassApp (2)
CommonControl1.Designer.cs (1)
763
private System.Windows.Forms.
ListBox
listBox1;
DataBindingExample.Designer.cs (1)
310
private System.Windows.Forms.
ListBox
listBox1;
WinFormsControlsTest (10)
ListBoxes.cs (6)
20
var
listBox = (
ListBox
)((object[])control.Tag)[0];
28
var
listBox = (
ListBox
)control.Tag;
34
var
listBox = (
ListBox
)sender;
ListBoxes.Designer.cs (3)
260
private System.Windows.Forms.
ListBox
listBox1;
270
private System.Windows.Forms.
ListBox
listBox3;
275
private System.Windows.Forms.
ListBox
listBox4;
ScrollableControls.Designer.cs (1)
501
private
ListBox
listBox1;