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)
1467
private class SubListBox :
ListBox
, IParentHandleRecreationHandler
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (2)
12201
private class CustomAddStringListBox :
ListBox
12217
private class CustomInsertStringListBox :
ListBox
System\Windows\Forms\ListBoxTests.cs (7)
1865
private class CustomCreateItemCollectionListBox :
ListBox
3329
private class CustomListBox :
ListBox
5257
private class CustomGetItemHeightListBox :
ListBox
5287
private class InvalidGetItemHeightListBox :
ListBox
5402
private class CustomGetItemRectListBox :
ListBox
5431
private class InvalidGetItemRectListBox :
ListBox
6398
private class SubListBox :
ListBox
677 instantiations of ListBox
Accessibility_Core_App (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
();
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)
64
using ListBox listControl =
new
();
System\Windows\Forms\Design\ListBoxDesignerTests.cs (6)
14
using ListBox listBox =
new
();
40
using ListBox listBox =
new
();
60
using ListBox listBox =
new
();
71
using ListBox listBox =
new
();
89
using ListBox listBox =
new
();
111
using ListBox listBox =
new
();
System\Windows\Forms\Design\ListControlStringCollectionEditorTests.cs (2)
43
using ListBox listControl =
new
();
59
using ListBox listControl =
new
() { DataSource = new List<string> { "item1", "item2", "item3" } };
System.Windows.Forms.Tests (644)
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
();
168
using ListBox listBox =
new
();
191
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
();
256
using ListBox listBox =
new
();
279
using ListBox listBox =
new
();
293
using ListBox listBox =
new
();
314
using ListBox listBox =
new
() { SelectionMode = multipleSelection ? SelectionMode.MultiExtended : SelectionMode.One };
347
using ListBox listBox =
new
() { Parent = form, Items = { "Item 1", "Item 2" } };
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
268
{ new
ListBox
(), new string[] { "DataSource: Object", "DataContext: Object", "Tag: Object" } },
System\Windows\Forms\ListBox.IntegerCollectionTests.cs (96)
13
using ListBox owner =
new
();
21
using ListBox owner =
new
();
28
using ListBox owner =
new
();
38
using ListBox owner =
new
();
50
using ListBox owner =
new
();
65
using ListBox owner =
new
();
76
using ListBox owner =
new
();
87
using ListBox owner =
new
();
113
using ListBox owner =
new
();
139
using ListBox owner =
new
();
181
using ListBox owner =
new
();
226
using ListBox owner =
new
();
237
using ListBox owner =
new
();
252
using ListBox owner =
new
()
295
using ListBox owner =
new
()
338
using ListBox owner =
new
()
400
using ListBox owner =
new
()
462
using ListBox owner =
new
()
490
using ListBox owner =
new
()
518
using ListBox owner =
new
()
559
using ListBox owner =
new
()
600
using ListBox owner =
new
()
607
using ListBox otherOwner =
new
();
631
using ListBox owner =
new
()
638
using ListBox otherOwner =
new
();
662
using ListBox owner =
new
()
676
using ListBox otherOwner =
new
();
706
using ListBox owner =
new
()
720
using ListBox otherOwner =
new
();
746
using ListBox owner =
new
();
755
using ListBox owner =
new
();
765
using ListBox owner =
new
();
787
using ListBox owner =
new
();
808
using ListBox owner =
new
();
829
using ListBox owner =
new
();
854
using ListBox owner =
new
();
877
using ListBox owner =
new
();
912
using ListBox owner =
new
();
947
using ListBox owner =
new
();
983
using ListBox owner =
new
();
1019
using ListBox owner =
new
();
1029
using ListBox owner =
new
();
1043
using ListBox owner =
new
();
1051
using ListBox owner =
new
();
1062
using ListBox owner =
new
();
1072
using ListBox owner =
new
();
1098
using ListBox owner =
new
()
1142
using ListBox owner =
new
()
1186
using ListBox owner =
new
()
1249
using ListBox owner =
new
()
1312
using ListBox owner =
new
()
1349
using ListBox owner =
new
()
1386
using ListBox owner =
new
()
1439
using ListBox owner =
new
()
1491
using ListBox owner =
new
();
1502
using ListBox owner =
new
();
1513
using ListBox owner =
new
();
1533
using ListBox owner =
new
();
1544
using ListBox owner =
new
();
1555
using ListBox owner =
new
();
1586
using ListBox owner =
new
();
1615
using ListBox owner =
new
();
1662
using ListBox owner =
new
();
1710
using ListBox owner =
new
();
1721
using ListBox owner =
new
();
1738
using ListBox owner =
new
();
1750
using ListBox owner =
new
()
1793
using ListBox owner =
new
()
1836
using ListBox owner =
new
()
1898
using ListBox owner =
new
()
1958
using ListBox owner =
new
();
1966
using ListBox owner =
new
();
1978
using ListBox owner =
new
();
2004
using ListBox owner =
new
();
2025
using ListBox owner =
new
();
2046
using ListBox owner =
new
();
2071
using ListBox owner =
new
();
2094
using ListBox owner =
new
();
2129
using ListBox owner =
new
();
2164
using ListBox owner =
new
();
2200
using ListBox owner =
new
();
2236
using ListBox owner =
new
();
2259
using ListBox owner =
new
();
2288
using ListBox owner =
new
();
2300
using ListBox owner =
new
();
2330
using ListBox owner =
new
()
2379
using ListBox owner =
new
()
2426
using ListBox owner =
new
()
2494
using ListBox owner =
new
()
2558
using ListBox owner =
new
();
2570
using ListBox owner =
new
()
2612
using ListBox owner =
new
()
2652
using ListBox owner =
new
()
2710
using ListBox owner =
new
()
2765
using ListBox owner =
new
();
2776
using ListBox owner =
new
();
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (332)
13
using ListBox owner =
new
();
24
using ListBox owner =
new
();
35
using ListBox otherOwner =
new
();
37
using ListBox owner =
new
();
48
using ListBox owner =
new
();
57
using ListBox owner =
new
()
61
using ListBox otherOwner =
new
();
77
using ListBox owner =
new
();
85
using ListBox owner =
new
();
95
using ListBox owner =
new
();
107
using ListBox owner =
new
();
120
using ListBox owner =
new
()
139
using ListBox owner =
new
();
150
using ListBox owner =
new
();
161
using ListBox owner =
new
();
199
using ListBox owner =
new
()
240
using ListBox owner =
new
();
278
using ListBox owner =
new
()
496
using ListBox owner =
new
();
582
using ListBox owner =
new
()
671
using ListBox owner =
new
();
717
using ListBox owner =
new
()
768
using ListBox owner =
new
()
837
using ListBox owner =
new
()
905
using ListBox owner =
new
();
975
using ListBox owner =
new
()
1050
using ListBox owner =
new
()
1149
using ListBox owner =
new
()
1251
using ListBox owner =
new
();
1263
using ListBox owner =
new
();
1277
using ListBox owner =
new
();
1288
using ListBox owner =
new
();
1299
using ListBox owner =
new
();
1340
using ListBox owner =
new
();
1381
using ListBox owner =
new
()
1425
using ListBox owner =
new
()
1469
using ListBox owner =
new
();
1548
using ListBox owner =
new
();
1627
using ListBox owner =
new
()
1709
using ListBox owner =
new
()
1791
using ListBox owner =
new
();
1820
using ListBox owner =
new
()
1854
using ListBox owner =
new
()
1898
using ListBox owner =
new
()
1937
using ListBox owner =
new
();
1979
using ListBox owner =
new
()
2026
using ListBox owner =
new
()
2086
using ListBox owner =
new
()
2144
using ListBox owner =
new
();
2160
using ListBox owner =
new
();
2182
using ListBox owner =
new
();
2190
using ListBox owner =
new
()
2218
using ListBox owner =
new
();
2242
using ListBox owner =
new
();
2266
using ListBox owner =
new
()
2293
using ListBox owner =
new
()
2320
using ListBox owner =
new
();
2372
using ListBox owner =
new
();
2424
using ListBox owner =
new
()
2479
using ListBox owner =
new
()
2534
using ListBox owner =
new
();
2562
using ListBox owner =
new
()
2595
using ListBox owner =
new
()
2630
using ListBox owner =
new
()
2661
using ListBox owner =
new
();
2702
using ListBox owner =
new
()
2748
using ListBox owner =
new
()
2796
using ListBox owner =
new
()
2842
using ListBox owner =
new
();
2853
using ListBox owner =
new
();
2872
using ListBox owner =
new
();
2877
using ListBox otherOwner =
new
();
2888
using ListBox emptyOwner =
new
();
2901
using ListBox owner =
new
();
2906
using ListBox otherOwner =
new
();
2917
using ListBox emptyOwner =
new
();
2930
using ListBox owner =
new
()
2938
using ListBox otherOwner =
new
();
2949
using ListBox emptyOwner =
new
();
2962
using ListBox owner =
new
()
2970
using ListBox otherOwner =
new
();
2981
using ListBox emptyOwner =
new
();
2994
using ListBox owner =
new
();
3005
using ListBox otherOwner =
new
();
3027
using ListBox emptyOwner =
new
();
3051
using ListBox owner =
new
();
3062
using ListBox otherOwner =
new
();
3084
using ListBox emptyOwner =
new
();
3108
using ListBox owner =
new
()
3122
using ListBox otherOwner =
new
();
3144
using ListBox emptyOwner =
new
();
3168
using ListBox owner =
new
()
3182
using ListBox otherOwner =
new
();
3204
using ListBox emptyOwner =
new
();
3228
using ListBox owner =
new
();
3237
using ListBox otherOwner =
new
();
3248
using ListBox emptyOwner =
new
();
3261
using ListBox owner =
new
()
3273
using ListBox otherOwner =
new
();
3284
using ListBox emptyOwner =
new
();
3299
using ListBox owner =
new
()
3313
using ListBox otherOwner =
new
();
3324
using ListBox emptyOwner =
new
();
3339
using ListBox owner =
new
()
3353
using ListBox otherOwner =
new
();
3363
using ListBox emptyOwner =
new
();
3375
using ListBox owner =
new
();
3391
using ListBox otherOwner =
new
();
3405
using ListBox emptyOwner =
new
();
3421
using ListBox owner =
new
()
3440
using ListBox otherOwner =
new
();
3454
using ListBox emptyOwner =
new
();
3472
using ListBox owner =
new
()
3493
using ListBox otherOwner =
new
();
3507
using ListBox emptyOwner =
new
();
3525
using ListBox owner =
new
()
3546
using ListBox otherOwner =
new
();
3560
using ListBox emptyOwner =
new
();
3576
using ListBox owner =
new
();
3578
using ListBox otherOwner =
new
();
3590
using ListBox owner =
new
();
3592
using ListBox otherOwner =
new
();
3612
using ListBox owner =
new
();
3621
using ListBox owner =
new
();
3633
using ListBox owner =
new
();
3646
using ListBox owner =
new
();
3655
using ListBox owner =
new
();
3663
using ListBox owner =
new
()
3668
using ListBox otherOwner =
new
();
3688
using ListBox otherOwner =
new
();
3701
using ListBox owner =
new
();
3722
using ListBox owner =
new
();
3743
using ListBox owner =
new
();
3768
using ListBox owner =
new
();
3791
using ListBox owner =
new
();
3828
using ListBox owner =
new
();
3865
using ListBox owner =
new
();
3903
using ListBox owner =
new
();
3941
using ListBox owner =
new
();
3952
using ListBox owner =
new
();
3976
using ListBox owner =
new
();
3984
using ListBox owner =
new
();
3994
using ListBox owner =
new
();
4008
using ListBox owner =
new
();
4016
using ListBox owner =
new
();
4027
using ListBox owner =
new
();
4050
using ListBox owner =
new
();
4079
using ListBox owner =
new
();
4090
using ListBox owner =
new
();
4114
using ListBox owner =
new
();
4122
using ListBox owner =
new
();
4163
using ListBox owner =
new
();
4204
using ListBox owner =
new
()
4248
using ListBox owner =
new
()
4292
using ListBox owner =
new
();
4371
using ListBox owner =
new
();
4450
using ListBox owner =
new
()
4532
using ListBox owner =
new
()
4614
using ListBox owner =
new
();
4643
using ListBox owner =
new
()
4671
using ListBox owner =
new
()
4715
using ListBox owner =
new
()
4752
using ListBox owner =
new
();
4794
using ListBox owner =
new
()
4841
using ListBox owner =
new
()
4901
using ListBox owner =
new
()
4959
using ListBox owner =
new
();
4973
using ListBox owner =
new
();
4998
using ListBox owner =
new
();
5009
using ListBox owner =
new
();
5020
using ListBox owner =
new
();
5028
using ListBox owner =
new
()
5056
using ListBox owner =
new
();
5102
using ListBox owner =
new
();
5143
using ListBox owner =
new
()
5192
using ListBox owner =
new
()
5236
using ListBox owner =
new
();
5308
using ListBox owner =
new
();
5385
using ListBox owner =
new
()
5460
using ListBox owner =
new
()
5540
using ListBox owner =
new
();
5578
using ListBox owner =
new
()
5621
using ListBox owner =
new
()
5673
using ListBox owner =
new
()
5723
using ListBox owner =
new
();
5782
using ListBox owner =
new
()
5846
using ListBox owner =
new
()
5914
using ListBox owner =
new
()
5980
using ListBox owner =
new
()
5991
using ListBox owner =
new
()
6003
using ListBox owner =
new
();
6041
using ListBox owner =
new
();
6075
using ListBox owner =
new
()
6116
using ListBox owner =
new
()
6153
using ListBox owner =
new
();
6210
using ListBox owner =
new
();
6271
using ListBox owner =
new
()
6331
using ListBox owner =
new
()
6395
using ListBox owner =
new
();
6433
using ListBox owner =
new
()
6476
using ListBox owner =
new
()
6528
using ListBox owner =
new
()
6578
using ListBox owner =
new
();
6637
using ListBox owner =
new
()
6701
using ListBox owner =
new
()
6769
using ListBox owner =
new
()
6838
using ListBox owner =
new
();
6849
using ListBox owner =
new
();
6860
using ListBox owner =
new
()
6871
using ListBox owner =
new
()
6882
using ListBox owner =
new
();
6900
using ListBox owner =
new
()
6924
using ListBox owner =
new
();
6935
using ListBox owner =
new
();
6946
using ListBox owner =
new
();
6988
using ListBox owner =
new
()
7033
using ListBox owner =
new
();
7073
using ListBox owner =
new
()
7297
using ListBox owner =
new
();
7385
using ListBox owner =
new
()
7476
using ListBox owner =
new
();
7522
using ListBox owner =
new
()
7573
using ListBox owner =
new
()
7642
using ListBox owner =
new
()
7710
using ListBox owner =
new
();
7780
using ListBox owner =
new
()
7855
using ListBox owner =
new
()
7954
using ListBox owner =
new
()
8056
using ListBox owner =
new
();
8068
using ListBox owner =
new
();
8082
using ListBox owner =
new
();
8093
using ListBox owner =
new
();
8104
using ListBox owner =
new
();
8145
using ListBox owner =
new
();
8186
using ListBox owner =
new
()
8230
using ListBox owner =
new
()
8274
using ListBox owner =
new
();
8353
using ListBox owner =
new
();
8432
using ListBox owner =
new
()
8514
using ListBox owner =
new
()
8596
using ListBox owner =
new
();
8625
using ListBox owner =
new
()
8659
using ListBox owner =
new
()
8703
using ListBox owner =
new
()
8742
using ListBox owner =
new
();
8784
using ListBox owner =
new
()
8831
using ListBox owner =
new
()
8891
using ListBox owner =
new
()
8949
using ListBox owner =
new
();
8965
using ListBox owner =
new
();
8987
using ListBox owner =
new
();
8995
using ListBox owner =
new
()
9023
using ListBox owner =
new
();
9044
using ListBox owner =
new
();
9065
using ListBox owner =
new
();
9090
using ListBox owner =
new
();
9113
using ListBox owner =
new
();
9150
using ListBox owner =
new
();
9187
using ListBox owner =
new
();
9225
using ListBox owner =
new
();
9263
using ListBox owner =
new
();
9274
using ListBox owner =
new
();
9298
using ListBox owner =
new
();
9306
using ListBox owner =
new
();
9316
using ListBox owner =
new
();
9330
using ListBox owner =
new
();
9338
using ListBox owner =
new
();
9349
using ListBox owner =
new
();
9372
using ListBox owner =
new
();
9401
using ListBox owner =
new
();
9412
using ListBox owner =
new
();
9436
using ListBox owner =
new
();
9444
using ListBox owner =
new
();
9485
using ListBox owner =
new
();
9526
using ListBox owner =
new
()
9570
using ListBox owner =
new
()
9614
using ListBox owner =
new
();
9693
using ListBox owner =
new
();
9772
using ListBox owner =
new
()
9854
using ListBox owner =
new
()
9936
using ListBox owner =
new
();
9965
using ListBox owner =
new
()
9993
using ListBox owner =
new
()
10037
using ListBox owner =
new
()
10074
using ListBox owner =
new
();
10116
using ListBox owner =
new
()
10163
using ListBox owner =
new
()
10223
using ListBox owner =
new
()
10281
using ListBox owner =
new
();
10295
using ListBox owner =
new
();
10320
using ListBox owner =
new
();
10331
using ListBox owner =
new
();
10342
using ListBox owner =
new
();
10350
using ListBox owner =
new
()
10378
using ListBox owner =
new
();
10424
using ListBox owner =
new
();
10465
using ListBox owner =
new
()
10514
using ListBox owner =
new
()
10558
using ListBox owner =
new
();
10630
using ListBox owner =
new
();
10707
using ListBox owner =
new
()
10782
using ListBox owner =
new
()
10862
using ListBox owner =
new
();
10900
using ListBox owner =
new
()
10943
using ListBox owner =
new
()
10995
using ListBox owner =
new
()
11045
using ListBox owner =
new
();
11104
using ListBox owner =
new
()
11168
using ListBox owner =
new
()
11236
using ListBox owner =
new
()
11302
using ListBox owner =
new
()
11313
using ListBox owner =
new
()
11325
using ListBox owner =
new
();
11363
using ListBox owner =
new
();
11397
using ListBox owner =
new
()
11438
using ListBox owner =
new
()
11475
using ListBox owner =
new
();
11532
using ListBox owner =
new
();
11593
using ListBox owner =
new
()
11653
using ListBox owner =
new
()
11717
using ListBox owner =
new
();
11755
using ListBox owner =
new
()
11798
using ListBox owner =
new
()
11850
using ListBox owner =
new
()
11900
using ListBox owner =
new
();
11959
using ListBox owner =
new
()
12023
using ListBox owner =
new
()
12091
using ListBox owner =
new
()
12160
using ListBox owner =
new
();
12171
using ListBox owner =
new
();
12182
using ListBox owner =
new
()
12193
using ListBox owner =
new
()
System\Windows\Forms\ListBox.SelectedIndexCollectionTests.cs (10)
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
();
System\Windows\Forms\ListBox.SelectedObjectCollectionTests.cs (10)
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
();
System\Windows\Forms\ListBoxTests.cs (175)
357
using ListBox control =
new
()
380
using ListBox control =
new
();
408
using ListBox control =
new
();
444
using ListBox control =
new
();
460
using ListBox control =
new
();
476
using ListBox control =
new
()
492
using ListBox control =
new
();
535
using ListBox control =
new
()
551
using ListBox control =
new
();
587
using ListBox control =
new
();
595
using ListBox control =
new
()
616
using ListBox control =
new
();
647
using ListBox control =
new
();
658
using ListBox control =
new
()
677
using ListBox control =
new
()
698
using ListBox control =
new
();
729
using ListBox control =
new
()
759
using ListBox control =
new
()
776
using ListBox control =
new
();
817
using ListBox control =
new
();
888
using ListBox control =
new
()
929
using ListBox control =
new
()
989
using ListBox control =
new
()
1026
using ListBox control =
new
();
1033
using ListBox control =
new
()
1199
using ListBox control =
new
();
1251
using ListBox control =
new
()
1277
using ListBox control =
new
();
1305
using ListBox control =
new
();
1341
using ListBox control =
new
();
1357
using ListBox control =
new
();
1386
using ListBox control =
new
()
1418
using ListBox control =
new
()
1454
using ListBox control =
new
()
1480
using ListBox control =
new
()
1506
using ListBox control =
new
()
1544
using ListBox control =
new
()
1595
using ListBox control =
new
()
1641
using ListBox control =
new
()
1667
using ListBox control =
new
();
1720
using ListBox control =
new
()
1757
using ListBox control =
new
()
1794
using ListBox control =
new
()
1809
using ListBox control =
new
();
1817
using ListBox control =
new
();
1834
using ListBox control =
new
();
1849
yield return new object[] { new ListBox.ObjectCollection(new
ListBox
()) };
1884
using ListBox control =
new
()
1915
using ListBox control =
new
()
1954
using ListBox control =
new
()
1969
using ListBox control =
new
()
1986
using ListBox control =
new
();
2014
using ListBox control =
new
();
2068
using ListBox control =
new
()
2097
using ListBox control =
new
()
2127
using ListBox control =
new
()
2151
using ListBox control =
new
()
2177
using ListBox control =
new
()
2193
using ListBox control =
new
();
2229
using ListBox control =
new
();
2237
using ListBox control =
new
()
2260
using ListBox control =
new
();
2297
using ListBox control =
new
()
2310
using ListBox control =
new
()
2326
using ListBox control =
new
()
2349
using ListBox control =
new
()
2394
using ListBox control =
new
()
2492
using ListBox control =
new
()
2556
using ListBox control =
new
()
2619
using ListBox control =
new
()
2646
using ListBox control =
new
()
2681
using ListBox control =
new
()
2732
using ListBox control =
new
();
2741
using ListBox control =
new
();
2749
using ListBox control =
new
()
2760
using ListBox control =
new
()
2773
using ListBox control =
new
()
2792
using ListBox control =
new
()
2815
using ListBox control =
new
()
2868
using ListBox control =
new
()
2983
using ListBox control =
new
()
3058
using ListBox control =
new
()
3132
using ListBox control =
new
()
3163
using ListBox control =
new
()
3205
using ListBox control =
new
()
3261
using ListBox control =
new
()
3272
using ListBox control =
new
()
3359
using ListBox control =
new
()
3395
using ListBox control =
new
()
3423
using ListBox control =
new
();
3459
using ListBox control =
new
();
3497
using ListBox control =
new
()
3539
using ListBox control =
new
()
3583
using ListBox control =
new
();
3642
using ListBox control =
new
()
3683
using ListBox control =
new
();
3735
using ListBox control =
new
();
3789
using ListBox control =
new
()
3847
using ListBox control =
new
()
3904
using ListBox control =
new
();
3912
using ListBox control =
new
()
3937
using ListBox control =
new
();
3968
using ListBox control =
new
();
3994
using ListBox control =
new
();
4034
using ListBox control =
new
();
4075
using ListBox control =
new
();
4117
using ListBox control =
new
()
4159
using ListBox control =
new
()
4210
using ListBox control =
new
()
4236
using ListBox control =
new
();
4266
using ListBox control =
new
();
4301
using ListBox control =
new
();
4315
using ListBox control =
new
()
4336
using ListBox control =
new
();
4359
using ListBox control =
new
();
4394
using ListBox control =
new
();
4424
using ListBox control =
new
();
4438
using ListBox control =
new
()
4461
using ListBox control =
new
();
4498
using ListBox control =
new
()
4521
using ListBox control =
new
();
4628
using ListBox control =
new
();
4648
using ListBox control =
new
();
4688
using ListBox control =
new
();
4710
using ListBox control =
new
();
4802
using ListBox control =
new
()
4818
using ListBox control =
new
()
4835
using ListBox control =
new
()
4867
using ListBox control =
new
()
4937
yield return new object[] { new
ListBox
(), null, startIndex, -1 };
4938
yield return new object[] { new
ListBox
(), string.Empty, startIndex, -1 };
4939
yield return new object[] { new
ListBox
(), "s", startIndex, -1 };
4941
using ListBox controlWithNoItems =
new
();
4943
yield return new object[] { new
ListBox
(), null, startIndex, -1 };
4944
yield return new object[] { new
ListBox
(), string.Empty, startIndex, -1 };
4945
yield return new object[] { new
ListBox
(), "s", startIndex, -1 };
4948
using ListBox controlWithItems =
new
()
5032
using ListBox control =
new
();
5041
yield return new object[] { new
ListBox
(), null, startIndex, -1 };
5042
yield return new object[] { new
ListBox
(), string.Empty, startIndex, -1 };
5043
yield return new object[] { new
ListBox
(), "s", startIndex, -1 };
5045
using ListBox controlWithNoItems =
new
();
5047
yield return new object[] { new
ListBox
(), null, startIndex, -1 };
5048
yield return new object[] { new
ListBox
(), string.Empty, startIndex, -1 };
5049
yield return new object[] { new
ListBox
(), "s", startIndex, -1 };
5052
using ListBox controlWithItems =
new
()
5136
using ListBox control =
new
();
5145
using ListBox control =
new
()
5166
using ListBox control =
new
()
5182
using ListBox control =
new
()
5205
using ListBox control =
new
()
5308
using ListBox control =
new
();
5318
using ListBox control =
new
();
5326
using ListBox control =
new
();
5349
using ListBox control =
new
();
5452
using ListBox control =
new
();
5461
using ListBox control =
new
();
5472
using ListBox control =
new
();
5481
using ListBox control =
new
();
5974
using ListBox control =
new
();
5993
using ListBox control =
new
();
6080
using ListBox control =
new
();
6087
using ListBox control =
new
();
6103
using ListBox control =
new
();
6114
using ListBox listBox =
new
();
6155
using ListBox listBox =
new
() { SelectionMode = mode };
6195
using ListBox listBox =
new
();
6231
using ListBox listBox =
new
() { SelectionMode = mode };
6267
using ListBox listBox =
new
() { FormattingEnabled = formattingEnabled };
6288
using ListBox listBox =
new
()
6310
using ListBox listBox =
new
();
6323
using ListBox listBox =
new
();
6340
using ListBox listBox =
new
();
6353
using ListBox listBox =
new
()
6377
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 };
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
();
1174 references to ListBox
Accessibility_Core_App (2)
CommonControl1.Designer.cs (1)
763
private System.Windows.Forms.
ListBox
listBox1;
DataBindingExample.Designer.cs (1)
310
private System.Windows.Forms.
ListBox
listBox1;
DesignSurface (4)
MainForm.cs (4)
204
ListBox
lb1 = surface.CreateControl<
ListBox
>(new Size(200, 130), new Point(260, 100));
279
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 (23)
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.Tests (11)
EnsureEditorsTests.cs (1)
105
[InlineData(typeof(
ListBox
), "Items", typeof(ListControlStringCollectionEditor))]
System\Windows\Forms\Design\FormatStringDialogTests.cs (1)
64
using
ListBox
listControl = new();
System\Windows\Forms\Design\ListBoxDesignerTests.cs (7)
14
using
ListBox
listBox = new();
40
using
ListBox
listBox = new();
60
using
ListBox
listBox = new();
71
using
ListBox
listBox = new();
89
using
ListBox
listBox = new();
111
using
ListBox
listBox = new();
135
using
ListBox
listBox = new CheckedListBox();
System\Windows\Forms\Design\ListControlStringCollectionEditorTests.cs (2)
43
using
ListBox
listControl = new();
59
using
ListBox
listControl = new() { DataSource = new List<string> { "item1", "item2", "item3" } };
System.Windows.Forms.Tests (1064)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (1)
26
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);
168
using
ListBox
listBox = new();
172
var itemAccessibleObject = accessibleObject.GetChild(0).Should().BeOfType<
ListBox
.ListBoxItemAccessibleObject>().Which;
191
using
ListBox
listBox = new();
193
ListBox
.ListBoxAccessibleObject listBoxAccessibleObject = new(listBox);
194
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)
256
using
ListBox
listBox = new();
279
using
ListBox
listBox = new();
293
using
ListBox
listBox = new();
314
using
ListBox
listBox = new() { SelectionMode = multipleSelection ? SelectionMode.MultiExtended : SelectionMode.One };
347
using
ListBox
listBox = new() { Parent = form, Items = { "Item 1", "Item 2" } };
System\Windows\Forms\ListBox.IntegerCollectionTests.cs (181)
13
using
ListBox
owner = new();
14
var collection = new
ListBox
.IntegerCollection(owner);
21
using
ListBox
owner = new();
22
Assert.Throws<ArgumentNullException>("owner", () => new
ListBox
.IntegerCollection(null));
28
using
ListBox
owner = new();
29
ICollection collection = new
ListBox
.IntegerCollection(owner);
38
using
ListBox
owner = new();
39
IList collection = new
ListBox
.IntegerCollection(owner);
50
using
ListBox
owner = new();
51
var collection = new
ListBox
.IntegerCollection(owner);
65
using
ListBox
owner = new();
66
var collection = new
ListBox
.IntegerCollection(owner);
76
using
ListBox
owner = new();
77
var collection = new
ListBox
.IntegerCollection(owner)
87
using
ListBox
owner = new();
88
var collection = new
ListBox
.IntegerCollection(owner);
113
using
ListBox
owner = new();
114
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
139
using
ListBox
owner = new();
140
var collection = new
ListBox
.IntegerCollection(owner);
181
using
ListBox
owner = new();
182
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
226
using
ListBox
owner = new();
227
var collection = new
ListBox
.IntegerCollection(owner);
237
using
ListBox
owner = new();
238
var collection = new
ListBox
.IntegerCollection(owner)
252
using
ListBox
owner = new()
257
var collection = new
ListBox
.IntegerCollection(owner);
295
using
ListBox
owner = new()
300
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
338
using
ListBox
owner = new()
343
var collection = new
ListBox
.IntegerCollection(owner);
400
using
ListBox
owner = new()
405
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
462
using
ListBox
owner = new()
467
var collection = new
ListBox
.IntegerCollection(owner);
490
using
ListBox
owner = new()
495
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
518
using
ListBox
owner = new()
523
var collection = new
ListBox
.IntegerCollection(owner);
559
using
ListBox
owner = new()
564
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
600
using
ListBox
owner = new()
605
var collection = new
ListBox
.IntegerCollection(owner);
607
using
ListBox
otherOwner = new();
608
var otherCollection = new
ListBox
.IntegerCollection(otherOwner);
631
using
ListBox
owner = new()
636
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
638
using
ListBox
otherOwner = new();
639
var otherCollection = new
ListBox
.IntegerCollection(otherOwner);
662
using
ListBox
owner = new()
667
var collection = new
ListBox
.IntegerCollection(owner);
676
using
ListBox
otherOwner = new();
677
var otherCollection = new
ListBox
.IntegerCollection(otherOwner);
706
using
ListBox
owner = new()
711
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
720
using
ListBox
otherOwner = new();
721
var otherCollection = new
ListBox
.IntegerCollection(otherOwner);
746
using
ListBox
owner = new();
747
var collection = new
ListBox
.IntegerCollection(owner);
749
Assert.Throws<ArgumentNullException>("items", () => collection.AddRange((
ListBox
.IntegerCollection)null));
755
using
ListBox
owner = new();
756
var collection = new
ListBox
.IntegerCollection(owner);
765
using
ListBox
owner = new();
766
var collection = new
ListBox
.IntegerCollection(owner)
787
using
ListBox
owner = new();
788
var collection = new
ListBox
.IntegerCollection(owner);
808
using
ListBox
owner = new();
809
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
829
using
ListBox
owner = new();
830
var collection = new
ListBox
.IntegerCollection(owner)
854
using
ListBox
owner = new();
855
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
877
using
ListBox
owner = new();
878
var collection = new
ListBox
.IntegerCollection(owner);
912
using
ListBox
owner = new();
913
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
947
using
ListBox
owner = new();
948
var collection = new
ListBox
.IntegerCollection(owner);
983
using
ListBox
owner = new();
984
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
1019
using
ListBox
owner = new();
1020
var collection = new
ListBox
.IntegerCollection(owner);
1029
using
ListBox
owner = new();
1030
var collection = new
ListBox
.IntegerCollection(owner)
1043
using
ListBox
owner = new();
1044
var collection = new
ListBox
.IntegerCollection(owner);
1051
using
ListBox
owner = new();
1052
var collection = new
ListBox
.IntegerCollection(owner)
1062
using
ListBox
owner = new();
1063
var collection = new
ListBox
.IntegerCollection(owner);
1072
using
ListBox
owner = new();
1073
var collection = new
ListBox
.IntegerCollection(owner)
1098
using
ListBox
owner = new()
1103
var collection = new
ListBox
.IntegerCollection(owner);
1142
using
ListBox
owner = new()
1147
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
1186
using
ListBox
owner = new()
1191
var collection = new
ListBox
.IntegerCollection(owner);
1249
using
ListBox
owner = new()
1254
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
1312
using
ListBox
owner = new()
1317
var collection = new
ListBox
.IntegerCollection(owner);
1349
using
ListBox
owner = new()
1354
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
1386
using
ListBox
owner = new()
1391
var collection = new
ListBox
.IntegerCollection(owner);
1439
using
ListBox
owner = new()
1444
ListBox
.IntegerCollection collection = owner.CustomTabOffsets;
1491
using
ListBox
owner = new();
1492
var collection = new
ListBox
.IntegerCollection(owner);
1502
using
ListBox
owner = new();
1503
var collection = new
ListBox
.IntegerCollection(owner)
1513
using
ListBox
owner = new();
1514
IList collection = new
ListBox
.IntegerCollection(owner)
1533
using
ListBox
owner = new();
1534
IList collection = new
ListBox
.IntegerCollection(owner);
1544
using
ListBox
owner = new();
1545
IList collection = new
ListBox
.IntegerCollection(owner)
1555
using
ListBox
owner = new();
1556
IList collection = new
ListBox
.IntegerCollection(owner)
1586
using
ListBox
owner = new();
1615
using
ListBox
owner = new();
1616
IList collection = new
ListBox
.IntegerCollection(owner)
1662
using
ListBox
owner = new();
1710
using
ListBox
owner = new();
1711
IList collection = new
ListBox
.IntegerCollection(owner);
1721
using
ListBox
owner = new();
1722
IList collection = new
ListBox
.IntegerCollection(owner)
1738
using
ListBox
owner = new();
1739
IList collection = new
ListBox
.IntegerCollection(owner);
1750
using
ListBox
owner = new()
1755
IList collection = new
ListBox
.IntegerCollection(owner);
1793
using
ListBox
owner = new()
1836
using
ListBox
owner = new()
1841
IList collection = new
ListBox
.IntegerCollection(owner);
1898
using
ListBox
owner = new()
1958
using
ListBox
owner = new();
1959
IList collection = new
ListBox
.IntegerCollection(owner);
1966
using
ListBox
owner = new();
1967
IList collection = new
ListBox
.IntegerCollection(owner);
1978
using
ListBox
owner = new();
1979
IList collection = new
ListBox
.IntegerCollection(owner)
2004
using
ListBox
owner = new();
2005
IList collection = new
ListBox
.IntegerCollection(owner);
2025
using
ListBox
owner = new();
2046
using
ListBox
owner = new();
2047
IList collection = new
ListBox
.IntegerCollection(owner)
2071
using
ListBox
owner = new();
2094
using
ListBox
owner = new();
2095
IList collection = new
ListBox
.IntegerCollection(owner);
2129
using
ListBox
owner = new();
2164
using
ListBox
owner = new();
2165
IList collection = new
ListBox
.IntegerCollection(owner);
2200
using
ListBox
owner = new();
2236
using
ListBox
owner = new();
2237
IList collection = new
ListBox
.IntegerCollection(owner);
2259
using
ListBox
owner = new();
2260
IList collection = new
ListBox
.IntegerCollection(owner)
2288
using
ListBox
owner = new();
2289
IList collection = new
ListBox
.IntegerCollection(owner);
2300
using
ListBox
owner = new();
2301
IList collection = new
ListBox
.IntegerCollection(owner)
2330
using
ListBox
owner = new()
2335
IList collection = new
ListBox
.IntegerCollection(owner)
2379
using
ListBox
owner = new()
2426
using
ListBox
owner = new()
2431
IList collection = new
ListBox
.IntegerCollection(owner)
2494
using
ListBox
owner = new()
2558
using
ListBox
owner = new();
2559
IList collection = new
ListBox
.IntegerCollection(owner);
2570
using
ListBox
owner = new()
2575
IList collection = new
ListBox
.IntegerCollection(owner)
2612
using
ListBox
owner = new()
2652
using
ListBox
owner = new()
2657
IList collection = new
ListBox
.IntegerCollection(owner)
2710
using
ListBox
owner = new()
2765
using
ListBox
owner = new();
2766
IList collection = new
ListBox
.IntegerCollection(owner);
2776
using
ListBox
owner = new();
2777
IList collection = new
ListBox
.IntegerCollection(owner)
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (611)
13
using
ListBox
owner = new();
14
var collection = new
ListBox
.ObjectCollection(owner);
24
using
ListBox
owner = new();
25
var collection = new
ListBox
.ObjectCollection(owner, (object[])[3, 2, 1]);
35
using
ListBox
otherOwner = new();
36
var otherCollection = new
ListBox
.ObjectCollection(otherOwner, (object[])[3, 2, 1]);
37
using
ListBox
owner = new();
38
var collection = new
ListBox
.ObjectCollection(owner, otherCollection);
48
using
ListBox
owner = new();
49
Assert.Throws<ArgumentNullException>("owner", () => new
ListBox
.ObjectCollection(null));
50
Assert.Throws<ArgumentNullException>("owner", () => new
ListBox
.ObjectCollection(null, new
ListBox
.ObjectCollection(owner)));
51
Assert.Throws<ArgumentNullException>("owner", () => new
ListBox
.ObjectCollection(null, Array.Empty<object>()));
57
using
ListBox
owner = new()
61
using
ListBox
otherOwner = new();
62
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
64
var emptyCollection = new
ListBox
.ObjectCollection(owner);
70
Assert.Throws<ArgumentException>(() => new
ListBox
.ObjectCollection(owner, Array.Empty<object>()));
71
Assert.Throws<ArgumentException>(() => new
ListBox
.ObjectCollection(owner, otherCollection));
77
using
ListBox
owner = new();
78
Assert.Throws<ArgumentNullException>("value", () => new
ListBox
.ObjectCollection(owner, (object[])null));
79
Assert.Throws<ArgumentNullException>("value", () => new
ListBox
.ObjectCollection(owner, (
ListBox
.ObjectCollection)null));
85
using
ListBox
owner = new();
86
ICollection collection = new
ListBox
.ObjectCollection(owner);
95
using
ListBox
owner = new();
96
IList collection = new
ListBox
.ObjectCollection(owner);
107
using
ListBox
owner = new();
108
var collection = new
ListBox
.ObjectCollection(owner);
120
using
ListBox
owner = new()
124
var collection = new
ListBox
.ObjectCollection(owner);
139
using
ListBox
owner = new();
140
var collection = new
ListBox
.ObjectCollection(owner);
150
using
ListBox
owner = new();
151
var collection = new
ListBox
.ObjectCollection(owner)
161
using
ListBox
owner = new();
162
var collection = new
ListBox
.ObjectCollection(owner);
199
using
ListBox
owner = new()
203
var collection = new
ListBox
.ObjectCollection(owner);
240
using
ListBox
owner = new();
241
ListBox
.ObjectCollection collection = owner.Items;
278
using
ListBox
owner = new()
282
ListBox
.ObjectCollection collection = owner.Items;
496
using
ListBox
owner = new();
497
ListBox
.ObjectCollection collection = owner.Items;
582
using
ListBox
owner = new()
586
ListBox
.ObjectCollection collection = owner.Items;
671
using
ListBox
owner = new();
672
ListBox
.ObjectCollection collection = owner.Items;
717
using
ListBox
owner = new()
721
ListBox
.ObjectCollection collection = owner.Items;
768
using
ListBox
owner = new()
772
ListBox
.ObjectCollection collection = owner.Items;
837
using
ListBox
owner = new()
842
ListBox
.ObjectCollection collection = owner.Items;
905
using
ListBox
owner = new();
906
ListBox
.ObjectCollection collection = owner.Items;
975
using
ListBox
owner = new()
979
ListBox
.ObjectCollection collection = owner.Items;
1050
using
ListBox
owner = new()
1054
ListBox
.ObjectCollection collection = owner.Items;
1149
using
ListBox
owner = new()
1154
ListBox
.ObjectCollection collection = owner.Items;
1251
using
ListBox
owner = new();
1252
var collection = new
ListBox
.ObjectCollection(owner);
1263
using
ListBox
owner = new();
1264
var collection = new
ListBox
.ObjectCollection(owner)
1277
using
ListBox
owner = new();
1278
var collection = new
ListBox
.ObjectCollection(owner);
1288
using
ListBox
owner = new();
1289
var collection = new
ListBox
.ObjectCollection(owner)
1299
using
ListBox
owner = new();
1300
var collection = new
ListBox
.ObjectCollection(owner);
1340
using
ListBox
owner = new();
1341
ListBox
.ObjectCollection collection = owner.Items;
1381
using
ListBox
owner = new()
1385
var collection = new
ListBox
.ObjectCollection(owner);
1425
using
ListBox
owner = new()
1429
ListBox
.ObjectCollection collection = owner.Items;
1469
using
ListBox
owner = new();
1470
var collection = new
ListBox
.ObjectCollection(owner);
1548
using
ListBox
owner = new();
1549
ListBox
.ObjectCollection collection = owner.Items;
1627
using
ListBox
owner = new()
1631
var collection = new
ListBox
.ObjectCollection(owner);
1709
using
ListBox
owner = new()
1713
ListBox
.ObjectCollection collection = owner.Items;
1791
using
ListBox
owner = new();
1792
ListBox
.ObjectCollection collection = owner.Items;
1820
using
ListBox
owner = new()
1824
ListBox
.ObjectCollection collection = owner.Items;
1854
using
ListBox
owner = new()
1858
ListBox
.ObjectCollection collection = owner.Items;
1898
using
ListBox
owner = new()
1903
ListBox
.ObjectCollection collection = owner.Items;
1937
using
ListBox
owner = new();
1938
ListBox
.ObjectCollection collection = owner.Items;
1979
using
ListBox
owner = new()
1983
ListBox
.ObjectCollection collection = owner.Items;
2026
using
ListBox
owner = new()
2030
ListBox
.ObjectCollection collection = owner.Items;
2086
using
ListBox
owner = new()
2091
ListBox
.ObjectCollection collection = owner.Items;
2144
using
ListBox
owner = new();
2145
var collection = new
ListBox
.ObjectCollection(owner)
2160
using
ListBox
owner = new();
2161
ListBox
.ObjectCollection collection = owner.Items;
2182
using
ListBox
owner = new();
2183
var collection = new
ListBox
.ObjectCollection(owner);
2190
using
ListBox
owner = new()
2194
var collection = new
ListBox
.ObjectCollection(owner);
2210
var collection = new
ListBox
.ObjectCollection(owner);
2218
using
ListBox
owner = new();
2219
var collection = new
ListBox
.ObjectCollection(owner);
2242
using
ListBox
owner = new();
2243
ListBox
.ObjectCollection collection = owner.Items;
2266
using
ListBox
owner = new()
2270
var collection = new
ListBox
.ObjectCollection(owner);
2293
using
ListBox
owner = new()
2297
ListBox
.ObjectCollection collection = owner.Items;
2320
using
ListBox
owner = new();
2321
var collection = new
ListBox
.ObjectCollection(owner);
2372
using
ListBox
owner = new();
2373
ListBox
.ObjectCollection collection = owner.Items;
2424
using
ListBox
owner = new()
2428
var collection = new
ListBox
.ObjectCollection(owner);
2479
using
ListBox
owner = new()
2483
ListBox
.ObjectCollection collection = owner.Items;
2534
using
ListBox
owner = new();
2535
ListBox
.ObjectCollection collection = owner.Items;
2562
using
ListBox
owner = new()
2566
ListBox
.ObjectCollection collection = owner.Items;
2595
using
ListBox
owner = new()
2599
ListBox
.ObjectCollection collection = owner.Items;
2630
using
ListBox
owner = new()
2635
ListBox
.ObjectCollection collection = owner.Items;
2661
using
ListBox
owner = new();
2662
ListBox
.ObjectCollection collection = owner.Items;
2702
using
ListBox
owner = new()
2706
ListBox
.ObjectCollection collection = owner.Items;
2748
using
ListBox
owner = new()
2752
ListBox
.ObjectCollection collection = owner.Items;
2796
using
ListBox
owner = new()
2801
ListBox
.ObjectCollection collection = owner.Items;
2842
using
ListBox
owner = new();
2843
var collection = new
ListBox
.ObjectCollection(owner);
2853
using
ListBox
owner = new();
2854
ListBox
.ObjectCollection collection = owner.Items;
2872
using
ListBox
owner = new();
2873
var collection = new
ListBox
.ObjectCollection(owner);
2877
using
ListBox
otherOwner = new();
2878
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
2888
using
ListBox
emptyOwner = new();
2889
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
2901
using
ListBox
owner = new();
2902
ListBox
.ObjectCollection collection = owner.Items;
2906
using
ListBox
otherOwner = new();
2907
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
2917
using
ListBox
emptyOwner = new();
2918
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
2930
using
ListBox
owner = new()
2934
var collection = new
ListBox
.ObjectCollection(owner);
2938
using
ListBox
otherOwner = new();
2939
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
2949
using
ListBox
emptyOwner = new();
2950
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
2962
using
ListBox
owner = new()
2966
ListBox
.ObjectCollection collection = owner.Items;
2970
using
ListBox
otherOwner = new();
2971
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
2981
using
ListBox
emptyOwner = new();
2982
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
2994
using
ListBox
owner = new();
2995
var collection = new
ListBox
.ObjectCollection(owner);
3005
using
ListBox
otherOwner = new();
3006
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3027
using
ListBox
emptyOwner = new();
3028
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3051
using
ListBox
owner = new();
3052
ListBox
.ObjectCollection collection = owner.Items;
3062
using
ListBox
otherOwner = new();
3063
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3084
using
ListBox
emptyOwner = new();
3085
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3108
using
ListBox
owner = new()
3112
var collection = new
ListBox
.ObjectCollection(owner);
3122
using
ListBox
otherOwner = new();
3123
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3144
using
ListBox
emptyOwner = new();
3145
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3168
using
ListBox
owner = new()
3172
ListBox
.ObjectCollection collection = owner.Items;
3182
using
ListBox
otherOwner = new();
3183
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3204
using
ListBox
emptyOwner = new();
3205
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3228
using
ListBox
owner = new();
3229
ListBox
.ObjectCollection collection = owner.Items;
3237
using
ListBox
otherOwner = new();
3238
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3248
using
ListBox
emptyOwner = new();
3249
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3261
using
ListBox
owner = new()
3265
ListBox
.ObjectCollection collection = owner.Items;
3273
using
ListBox
otherOwner = new();
3274
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3284
using
ListBox
emptyOwner = new();
3285
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3299
using
ListBox
owner = new()
3303
ListBox
.ObjectCollection collection = owner.Items;
3313
using
ListBox
otherOwner = new();
3314
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3324
using
ListBox
emptyOwner = new();
3325
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3339
using
ListBox
owner = new()
3344
ListBox
.ObjectCollection collection = owner.Items;
3353
using
ListBox
otherOwner = new();
3354
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3363
using
ListBox
emptyOwner = new();
3364
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3375
using
ListBox
owner = new();
3376
ListBox
.ObjectCollection collection = owner.Items;
3391
using
ListBox
otherOwner = new();
3392
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3405
using
ListBox
emptyOwner = new();
3406
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3421
using
ListBox
owner = new()
3425
ListBox
.ObjectCollection collection = owner.Items;
3440
using
ListBox
otherOwner = new();
3441
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3454
using
ListBox
emptyOwner = new();
3455
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3472
using
ListBox
owner = new()
3476
ListBox
.ObjectCollection collection = owner.Items;
3493
using
ListBox
otherOwner = new();
3494
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3507
using
ListBox
emptyOwner = new();
3508
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3525
using
ListBox
owner = new()
3530
ListBox
.ObjectCollection collection = owner.Items;
3546
using
ListBox
otherOwner = new();
3547
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3560
using
ListBox
emptyOwner = new();
3561
var emptyCollection = new
ListBox
.ObjectCollection(emptyOwner);
3576
using
ListBox
owner = new();
3577
var collection = new
ListBox
.ObjectCollection(owner);
3578
using
ListBox
otherOwner = new();
3579
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3590
using
ListBox
owner = new();
3591
ListBox
.ObjectCollection collection = owner.Items;
3592
using
ListBox
otherOwner = new();
3593
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3612
using
ListBox
owner = new();
3613
var collection = new
ListBox
.ObjectCollection(owner);
3621
using
ListBox
owner = new();
3622
var collection = new
ListBox
.ObjectCollection(owner)
3633
using
ListBox
owner = new();
3634
var collection = new
ListBox
.ObjectCollection(owner)
3646
using
ListBox
owner = new();
3647
var collection = new
ListBox
.ObjectCollection(owner);
3649
Assert.Throws<ArgumentNullException>("value", () => collection.AddRange((
ListBox
.ObjectCollection)null));
3655
using
ListBox
owner = new();
3656
var collection = new
ListBox
.ObjectCollection(owner);
3663
using
ListBox
owner = new()
3667
var collection = new
ListBox
.ObjectCollection(owner);
3668
using
ListBox
otherOwner = new();
3669
var otherCollection = new
ListBox
.ObjectCollection(otherOwner);
3686
var collection = new
ListBox
.ObjectCollection(owner);
3688
using
ListBox
otherOwner = new();
3689
var otherCollection = new
ListBox
.ObjectCollection(otherOwner)
3701
using
ListBox
owner = new();
3702
var collection = new
ListBox
.ObjectCollection(owner);
3722
using
ListBox
owner = new();
3723
ListBox
.ObjectCollection collection = owner.Items;
3743
using
ListBox
owner = new();
3744
var collection = new
ListBox
.ObjectCollection(owner)
3768
using
ListBox
owner = new();
3769
ListBox
.ObjectCollection collection = owner.Items;
3791
using
ListBox
owner = new();
3792
var collection = new
ListBox
.ObjectCollection(owner);
3828
using
ListBox
owner = new();
3829
ListBox
.ObjectCollection collection = owner.Items;
3865
using
ListBox
owner = new();
3866
var collection = new
ListBox
.ObjectCollection(owner);
3903
using
ListBox
owner = new();
3904
ListBox
.ObjectCollection collection = owner.Items;
3941
using
ListBox
owner = new();
3942
var collection = new
ListBox
.ObjectCollection(owner);
3952
using
ListBox
owner = new();
3953
var collection = new
ListBox
.ObjectCollection(owner)
3976
using
ListBox
owner = new();
3977
var collection = new
ListBox
.ObjectCollection(owner);
3984
using
ListBox
owner = new();
3985
var collection = new
ListBox
.ObjectCollection(owner);
3994
using
ListBox
owner = new();
3995
var collection = new
ListBox
.ObjectCollection(owner)
4008
using
ListBox
owner = new();
4009
var collection = new
ListBox
.ObjectCollection(owner);
4016
using
ListBox
owner = new();
4017
var collection = new
ListBox
.ObjectCollection(owner)
4027
using
ListBox
owner = new();
4028
var collection = new
ListBox
.ObjectCollection(owner);
4050
using
ListBox
owner = new();
4051
var collection = new
ListBox
.ObjectCollection(owner)
4079
using
ListBox
owner = new();
4080
var collection = new
ListBox
.ObjectCollection(owner);
4090
using
ListBox
owner = new();
4091
var collection = new
ListBox
.ObjectCollection(owner)
4114
using
ListBox
owner = new();
4115
var collection = new
ListBox
.ObjectCollection(owner);
4122
using
ListBox
owner = new();
4123
var collection = new
ListBox
.ObjectCollection(owner);
4163
using
ListBox
owner = new();
4164
ListBox
.ObjectCollection collection = owner.Items;
4204
using
ListBox
owner = new()
4208
var collection = new
ListBox
.ObjectCollection(owner);
4248
using
ListBox
owner = new()
4252
ListBox
.ObjectCollection collection = owner.Items;
4292
using
ListBox
owner = new();
4293
var collection = new
ListBox
.ObjectCollection(owner);
4371
using
ListBox
owner = new();
4372
ListBox
.ObjectCollection collection = owner.Items;
4450
using
ListBox
owner = new()
4454
var collection = new
ListBox
.ObjectCollection(owner);
4532
using
ListBox
owner = new()
4536
ListBox
.ObjectCollection collection = owner.Items;
4614
using
ListBox
owner = new();
4615
ListBox
.ObjectCollection collection = owner.Items;
4643
using
ListBox
owner = new()
4647
ListBox
.ObjectCollection collection = owner.Items;
4671
using
ListBox
owner = new()
4675
ListBox
.ObjectCollection collection = owner.Items;
4715
using
ListBox
owner = new()
4720
ListBox
.ObjectCollection collection = owner.Items;
4752
using
ListBox
owner = new();
4753
ListBox
.ObjectCollection collection = owner.Items;
4794
using
ListBox
owner = new()
4798
ListBox
.ObjectCollection collection = owner.Items;
4841
using
ListBox
owner = new()
4845
ListBox
.ObjectCollection collection = owner.Items;
4901
using
ListBox
owner = new()
4906
ListBox
.ObjectCollection collection = owner.Items;
4959
using
ListBox
owner = new();
4960
var collection = new
ListBox
.ObjectCollection(owner);
4973
using
ListBox
owner = new();
4974
ListBox
.ObjectCollection collection = owner.Items;
4998
using
ListBox
owner = new();
4999
var collection = new
ListBox
.ObjectCollection(owner);
5009
using
ListBox
owner = new();
5010
var collection = new
ListBox
.ObjectCollection(owner)
5020
using
ListBox
owner = new();
5021
var collection = new
ListBox
.ObjectCollection(owner);
5028
using
ListBox
owner = new()
5032
var collection = new
ListBox
.ObjectCollection(owner);
5048
var collection = new
ListBox
.ObjectCollection(owner);
5056
using
ListBox
owner = new();
5057
var collection = new
ListBox
.ObjectCollection(owner)
5102
using
ListBox
owner = new();
5103
ListBox
.ObjectCollection collection = owner.Items;
5143
using
ListBox
owner = new()
5147
var collection = new
ListBox
.ObjectCollection(owner)
5192
using
ListBox
owner = new()
5196
ListBox
.ObjectCollection collection = owner.Items;
5236
using
ListBox
owner = new();
5237
var collection = new
ListBox
.ObjectCollection(owner);
5308
using
ListBox
owner = new();
5309
ListBox
.ObjectCollection collection = owner.Items;
5385
using
ListBox
owner = new()
5389
var collection = new
ListBox
.ObjectCollection(owner);
5460
using
ListBox
owner = new()
5464
ListBox
.ObjectCollection collection = owner.Items;
5540
using
ListBox
owner = new();
5541
ListBox
.ObjectCollection collection = owner.Items;
5578
using
ListBox
owner = new()
5582
ListBox
.ObjectCollection collection = owner.Items;
5621
using
ListBox
owner = new()
5625
ListBox
.ObjectCollection collection = owner.Items;
5673
using
ListBox
owner = new()
5678
ListBox
.ObjectCollection collection = owner.Items;
5723
using
ListBox
owner = new();
5724
ListBox
.ObjectCollection collection = owner.Items;
5782
using
ListBox
owner = new()
5786
ListBox
.ObjectCollection collection = owner.Items;
5846
using
ListBox
owner = new()
5850
ListBox
.ObjectCollection collection = owner.Items;
5914
using
ListBox
owner = new()
5919
ListBox
.ObjectCollection collection = owner.Items;
5980
using
ListBox
owner = new()
5984
var collection = new
ListBox
.ObjectCollection(owner);
5991
using
ListBox
owner = new()
5995
var collection = new
ListBox
.ObjectCollection(owner);
6003
using
ListBox
owner = new();
6004
var collection = new
ListBox
.ObjectCollection(owner)
6041
using
ListBox
owner = new();
6042
ListBox
.ObjectCollection collection = owner.Items;
6075
using
ListBox
owner = new()
6079
var collection = new
ListBox
.ObjectCollection(owner)
6116
using
ListBox
owner = new()
6120
ListBox
.ObjectCollection collection = owner.Items;
6153
using
ListBox
owner = new();
6154
var collection = new
ListBox
.ObjectCollection(owner);
6210
using
ListBox
owner = new();
6211
ListBox
.ObjectCollection collection = owner.Items;
6271
using
ListBox
owner = new()
6275
var collection = new
ListBox
.ObjectCollection(owner);
6331
using
ListBox
owner = new()
6335
ListBox
.ObjectCollection collection = owner.Items;
6395
using
ListBox
owner = new();
6396
ListBox
.ObjectCollection collection = owner.Items;
6433
using
ListBox
owner = new()
6437
ListBox
.ObjectCollection collection = owner.Items;
6476
using
ListBox
owner = new()
6480
ListBox
.ObjectCollection collection = owner.Items;
6528
using
ListBox
owner = new()
6533
ListBox
.ObjectCollection collection = owner.Items;
6578
using
ListBox
owner = new();
6579
ListBox
.ObjectCollection collection = owner.Items;
6637
using
ListBox
owner = new()
6641
ListBox
.ObjectCollection collection = owner.Items;
6701
using
ListBox
owner = new()
6705
ListBox
.ObjectCollection collection = owner.Items;
6769
using
ListBox
owner = new()
6774
ListBox
.ObjectCollection collection = owner.Items;
6838
using
ListBox
owner = new();
6839
var collection = new
ListBox
.ObjectCollection(owner);
6849
using
ListBox
owner = new();
6850
var collection = new
ListBox
.ObjectCollection(owner)
6860
using
ListBox
owner = new()
6864
var collection = new
ListBox
.ObjectCollection(owner);
6871
using
ListBox
owner = new()
6875
var collection = new
ListBox
.ObjectCollection(owner);
6882
using
ListBox
owner = new();
6883
IList collection = new
ListBox
.ObjectCollection(owner)
6900
using
ListBox
owner = new()
6904
IList collection = new
ListBox
.ObjectCollection(owner)
6924
using
ListBox
owner = new();
6925
IList collection = new
ListBox
.ObjectCollection(owner);
6935
using
ListBox
owner = new();
6936
IList collection = new
ListBox
.ObjectCollection(owner)
6946
using
ListBox
owner = new();
6947
IList collection = new
ListBox
.ObjectCollection(owner)
6988
using
ListBox
owner = new()
6992
IList collection = new
ListBox
.ObjectCollection(owner)
7033
using
ListBox
owner = new();
7073
using
ListBox
owner = new()
7297
using
ListBox
owner = new();
7385
using
ListBox
owner = new()
7476
using
ListBox
owner = new();
7522
using
ListBox
owner = new()
7573
using
ListBox
owner = new()
7642
using
ListBox
owner = new()
7710
using
ListBox
owner = new();
7780
using
ListBox
owner = new()
7855
using
ListBox
owner = new()
7954
using
ListBox
owner = new()
8056
using
ListBox
owner = new();
8057
IList collection = new
ListBox
.ObjectCollection(owner);
8068
using
ListBox
owner = new();
8069
IList collection = new
ListBox
.ObjectCollection(owner)
8082
using
ListBox
owner = new();
8083
IList collection = new
ListBox
.ObjectCollection(owner);
8093
using
ListBox
owner = new();
8094
IList collection = new
ListBox
.ObjectCollection(owner)
8104
using
ListBox
owner = new();
8105
IList collection = new
ListBox
.ObjectCollection(owner);
8145
using
ListBox
owner = new();
8186
using
ListBox
owner = new()
8190
IList collection = new
ListBox
.ObjectCollection(owner);
8230
using
ListBox
owner = new()
8274
using
ListBox
owner = new();
8275
IList collection = new
ListBox
.ObjectCollection(owner);
8353
using
ListBox
owner = new();
8432
using
ListBox
owner = new()
8436
IList collection = new
ListBox
.ObjectCollection(owner);
8514
using
ListBox
owner = new()
8596
using
ListBox
owner = new();
8625
using
ListBox
owner = new()
8659
using
ListBox
owner = new()
8703
using
ListBox
owner = new()
8742
using
ListBox
owner = new();
8784
using
ListBox
owner = new()
8831
using
ListBox
owner = new()
8891
using
ListBox
owner = new()
8949
using
ListBox
owner = new();
8950
IList collection = new
ListBox
.ObjectCollection(owner)
8965
using
ListBox
owner = new();
8987
using
ListBox
owner = new();
8988
IList collection = new
ListBox
.ObjectCollection(owner);
8995
using
ListBox
owner = new()
8999
IList collection = new
ListBox
.ObjectCollection(owner);
9015
IList collection = new
ListBox
.ObjectCollection(owner);
9023
using
ListBox
owner = new();
9024
IList collection = new
ListBox
.ObjectCollection(owner);
9044
using
ListBox
owner = new();
9065
using
ListBox
owner = new();
9066
IList collection = new
ListBox
.ObjectCollection(owner)
9090
using
ListBox
owner = new();
9113
using
ListBox
owner = new();
9114
IList collection = new
ListBox
.ObjectCollection(owner);
9150
using
ListBox
owner = new();
9187
using
ListBox
owner = new();
9188
IList collection = new
ListBox
.ObjectCollection(owner);
9225
using
ListBox
owner = new();
9263
using
ListBox
owner = new();
9264
IList collection = new
ListBox
.ObjectCollection(owner);
9274
using
ListBox
owner = new();
9275
IList collection = new
ListBox
.ObjectCollection(owner)
9298
using
ListBox
owner = new();
9299
IList collection = new
ListBox
.ObjectCollection(owner);
9306
using
ListBox
owner = new();
9307
IList collection = new
ListBox
.ObjectCollection(owner);
9316
using
ListBox
owner = new();
9317
IList collection = new
ListBox
.ObjectCollection(owner)
9330
using
ListBox
owner = new();
9331
IList collection = new
ListBox
.ObjectCollection(owner);
9338
using
ListBox
owner = new();
9339
IList collection = new
ListBox
.ObjectCollection(owner)
9349
using
ListBox
owner = new();
9350
IList collection = new
ListBox
.ObjectCollection(owner);
9372
using
ListBox
owner = new();
9373
IList collection = new
ListBox
.ObjectCollection(owner)
9401
using
ListBox
owner = new();
9402
IList collection = new
ListBox
.ObjectCollection(owner);
9412
using
ListBox
owner = new();
9413
IList collection = new
ListBox
.ObjectCollection(owner)
9436
using
ListBox
owner = new();
9437
IList collection = new
ListBox
.ObjectCollection(owner);
9444
using
ListBox
owner = new();
9445
IList collection = new
ListBox
.ObjectCollection(owner);
9485
using
ListBox
owner = new();
9526
using
ListBox
owner = new()
9530
IList collection = new
ListBox
.ObjectCollection(owner);
9570
using
ListBox
owner = new()
9614
using
ListBox
owner = new();
9615
IList collection = new
ListBox
.ObjectCollection(owner);
9693
using
ListBox
owner = new();
9772
using
ListBox
owner = new()
9776
IList collection = new
ListBox
.ObjectCollection(owner);
9854
using
ListBox
owner = new()
9936
using
ListBox
owner = new();
9965
using
ListBox
owner = new()
9993
using
ListBox
owner = new()
10037
using
ListBox
owner = new()
10074
using
ListBox
owner = new();
10116
using
ListBox
owner = new()
10163
using
ListBox
owner = new()
10223
using
ListBox
owner = new()
10281
using
ListBox
owner = new();
10282
IList collection = new
ListBox
.ObjectCollection(owner);
10295
using
ListBox
owner = new();
10320
using
ListBox
owner = new();
10321
IList collection = new
ListBox
.ObjectCollection(owner);
10331
using
ListBox
owner = new();
10332
IList collection = new
ListBox
.ObjectCollection(owner)
10342
using
ListBox
owner = new();
10343
IList collection = new
ListBox
.ObjectCollection(owner);
10350
using
ListBox
owner = new()
10354
IList collection = new
ListBox
.ObjectCollection(owner);
10370
IList collection = new
ListBox
.ObjectCollection(owner);
10378
using
ListBox
owner = new();
10379
IList collection = new
ListBox
.ObjectCollection(owner)
10424
using
ListBox
owner = new();
10465
using
ListBox
owner = new()
10469
IList collection = new
ListBox
.ObjectCollection(owner)
10514
using
ListBox
owner = new()
10558
using
ListBox
owner = new();
10559
IList collection = new
ListBox
.ObjectCollection(owner);
10630
using
ListBox
owner = new();
10707
using
ListBox
owner = new()
10711
IList collection = new
ListBox
.ObjectCollection(owner);
10782
using
ListBox
owner = new()
10862
using
ListBox
owner = new();
10900
using
ListBox
owner = new()
10943
using
ListBox
owner = new()
10995
using
ListBox
owner = new()
11045
using
ListBox
owner = new();
11104
using
ListBox
owner = new()
11168
using
ListBox
owner = new()
11236
using
ListBox
owner = new()
11302
using
ListBox
owner = new()
11306
IList collection = new
ListBox
.ObjectCollection(owner);
11313
using
ListBox
owner = new()
11317
IList collection = new
ListBox
.ObjectCollection(owner);
11325
using
ListBox
owner = new();
11326
IList collection = new
ListBox
.ObjectCollection(owner)
11363
using
ListBox
owner = new();
11397
using
ListBox
owner = new()
11401
IList collection = new
ListBox
.ObjectCollection(owner)
11438
using
ListBox
owner = new()
11475
using
ListBox
owner = new();
11476
IList collection = new
ListBox
.ObjectCollection(owner);
11532
using
ListBox
owner = new();
11593
using
ListBox
owner = new()
11597
IList collection = new
ListBox
.ObjectCollection(owner);
11653
using
ListBox
owner = new()
11717
using
ListBox
owner = new();
11755
using
ListBox
owner = new()
11798
using
ListBox
owner = new()
11850
using
ListBox
owner = new()
11900
using
ListBox
owner = new();
11959
using
ListBox
owner = new()
12023
using
ListBox
owner = new()
12091
using
ListBox
owner = new()
12160
using
ListBox
owner = new();
12161
IList collection = new
ListBox
.ObjectCollection(owner);
12171
using
ListBox
owner = new();
12172
IList collection = new
ListBox
.ObjectCollection(owner)
12182
using
ListBox
owner = new()
12186
IList collection = new
ListBox
.ObjectCollection(owner);
12193
using
ListBox
owner = new()
12197
IList collection = new
ListBox
.ObjectCollection(owner);
System\Windows\Forms\ListBox.SelectedIndexCollectionTests.cs (20)
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);
System\Windows\Forms\ListBox.SelectedObjectCollectionTests.cs (20)
13
using
ListBox
owner = new();
14
var collection = new
ListBox
.SelectedObjectCollection(owner);
22
using
ListBox
owner = new();
23
Assert.Throws<ArgumentNullException>("owner", () => new
ListBox
.SelectedObjectCollection(null));
29
using
ListBox
owner = new();
30
ICollection collection = new
ListBox
.SelectedObjectCollection(owner);
39
using
ListBox
owner = new();
40
IList collection = new
ListBox
.SelectedObjectCollection(owner);
60
using
ListBox
owner = new();
61
IList collection = new
ListBox
.SelectedObjectCollection(owner);
71
using
ListBox
owner = new();
72
IList collection = new
ListBox
.SelectedObjectCollection(owner);
79
using
ListBox
owner = new();
80
IList collection = new
ListBox
.SelectedObjectCollection(owner);
96
using
ListBox
owner = new();
97
IList collection = new
ListBox
.SelectedObjectCollection(owner);
107
using
ListBox
owner = new();
108
IList collection = new
ListBox
.SelectedObjectCollection(owner);
118
using
ListBox
owner = new();
119
IList collection = new
ListBox
.SelectedObjectCollection(owner);
System\Windows\Forms\ListBoxTests.cs (182)
357
using
ListBox
control = new()
380
using
ListBox
control = new();
408
using
ListBox
control = new();
443
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ListBox
))[nameof(
ListBox
.BackColor)];
444
using
ListBox
control = new();
459
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ListBox
))[nameof(
ListBox
.BackColor)];
460
using
ListBox
control = new();
476
using
ListBox
control = new()
492
using
ListBox
control = new();
535
using
ListBox
control = new()
551
using
ListBox
control = new();
587
using
ListBox
control = new();
595
using
ListBox
control = new()
616
using
ListBox
control = new();
647
using
ListBox
control = new();
658
using
ListBox
control = new()
677
using
ListBox
control = new()
698
using
ListBox
control = new();
729
using
ListBox
control = new()
759
using
ListBox
control = new()
776
using
ListBox
control = new();
817
using
ListBox
control = new();
888
using
ListBox
control = new()
929
using
ListBox
control = new()
989
using
ListBox
control = new()
1026
using
ListBox
control = new();
1033
using
ListBox
control = new()
1199
using
ListBox
control = new();
1251
using
ListBox
control = new()
1277
using
ListBox
control = new();
1305
using
ListBox
control = new();
1340
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ListBox
))[nameof(
ListBox
.ForeColor)];
1341
using
ListBox
control = new();
1356
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ListBox
))[nameof(
ListBox
.ForeColor)];
1357
using
ListBox
control = new();
1386
using
ListBox
control = new()
1418
using
ListBox
control = new()
1454
using
ListBox
control = new()
1480
using
ListBox
control = new()
1506
using
ListBox
control = new()
1544
using
ListBox
control = new()
1595
using
ListBox
control = new()
1641
using
ListBox
control = new()
1667
using
ListBox
control = new();
1720
using
ListBox
control = new()
1757
using
ListBox
control = new()
1794
using
ListBox
control = new()
1809
using
ListBox
control = new();
1816
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ListBox
))[nameof(
ListBox
.ItemHeight)];
1817
using
ListBox
control = new();
1833
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ListBox
))[nameof(
ListBox
.ItemHeight)];
1834
using
ListBox
control = new();
1849
yield return new object[] { new
ListBox
.ObjectCollection(new ListBox()) };
1854
public void ListBox_Items_GetCustomCreateItemCollection_ReturnsExpected(
ListBox
.ObjectCollection result)
1867
public
ListBox
.ObjectCollection CreateListBoxResult { get; set; }
1869
protected override
ListBox
.ObjectCollection CreateItemCollection() => CreateListBoxResult;
1884
using
ListBox
control = new()
1915
using
ListBox
control = new()
1954
using
ListBox
control = new()
1969
using
ListBox
control = new()
1986
using
ListBox
control = new();
2014
using
ListBox
control = new();
2068
using
ListBox
control = new()
2097
using
ListBox
control = new()
2127
using
ListBox
control = new()
2151
using
ListBox
control = new()
2177
using
ListBox
control = new()
2193
using
ListBox
control = new();
2229
using
ListBox
control = new();
2237
using
ListBox
control = new()
2260
using
ListBox
control = new();
2297
using
ListBox
control = new()
2310
using
ListBox
control = new()
2326
using
ListBox
control = new()
2349
using
ListBox
control = new()
2394
using
ListBox
control = new()
2492
using
ListBox
control = new()
2556
using
ListBox
control = new()
2619
using
ListBox
control = new()
2646
using
ListBox
control = new()
2681
using
ListBox
control = new()
2732
using
ListBox
control = new();
2741
using
ListBox
control = new();
2749
using
ListBox
control = new()
2760
using
ListBox
control = new()
2773
using
ListBox
control = new()
2792
using
ListBox
control = new()
2815
using
ListBox
control = new()
2868
using
ListBox
control = new()
2983
using
ListBox
control = new()
3058
using
ListBox
control = new()
3132
using
ListBox
control = new()
3163
using
ListBox
control = new()
3205
using
ListBox
control = new()
3261
using
ListBox
control = new()
3272
using
ListBox
control = new()
3359
using
ListBox
control = new()
3395
using
ListBox
control = new()
3423
using
ListBox
control = new();
3459
using
ListBox
control = new();
3497
using
ListBox
control = new()
3539
using
ListBox
control = new()
3583
using
ListBox
control = new();
3642
using
ListBox
control = new()
3683
using
ListBox
control = new();
3735
using
ListBox
control = new();
3789
using
ListBox
control = new()
3847
using
ListBox
control = new()
3904
using
ListBox
control = new();
3912
using
ListBox
control = new()
3937
using
ListBox
control = new();
3968
using
ListBox
control = new();
3994
using
ListBox
control = new();
4034
using
ListBox
control = new();
4075
using
ListBox
control = new();
4117
using
ListBox
control = new()
4159
using
ListBox
control = new()
4210
using
ListBox
control = new()
4236
using
ListBox
control = new();
4266
using
ListBox
control = new();
4301
using
ListBox
control = new();
4315
using
ListBox
control = new()
4336
using
ListBox
control = new();
4359
using
ListBox
control = new();
4394
using
ListBox
control = new();
4424
using
ListBox
control = new();
4438
using
ListBox
control = new()
4461
using
ListBox
control = new();
4498
using
ListBox
control = new()
4521
using
ListBox
control = new();
4628
using
ListBox
control = new();
4648
using
ListBox
control = new();
4688
using
ListBox
control = new();
4710
using
ListBox
control = new();
4773
ListBox
.ObjectCollection items = Assert.IsType<
ListBox
.ObjectCollection>(control.CreateItemCollection());
4802
using
ListBox
control = new()
4818
using
ListBox
control = new()
4835
using
ListBox
control = new()
4867
using
ListBox
control = new()
4941
using
ListBox
controlWithNoItems = new();
4948
using
ListBox
controlWithItems = new()
5016
public void ListBox_FindString_Invoke_ReturnsExpected(
ListBox
control, string s, int startIndex, int expected)
5032
using
ListBox
control = new();
5045
using
ListBox
controlWithNoItems = new();
5052
using
ListBox
controlWithItems = new()
5120
public void ListBox_FindStringExact_Invoke_ReturnsExpected(
ListBox
control, string s, int startIndex, int expected)
5136
using
ListBox
control = new();
5145
using
ListBox
control = new()
5166
using
ListBox
control = new()
5182
using
ListBox
control = new()
5205
using
ListBox
control = new()
5308
using
ListBox
control = new();
5318
using
ListBox
control = new();
5326
using
ListBox
control = new();
5349
using
ListBox
control = new();
5452
using
ListBox
control = new();
5461
using
ListBox
control = new();
5472
using
ListBox
control = new();
5481
using
ListBox
control = new();
5974
using
ListBox
control = new();
5993
using
ListBox
control = new();
6080
using
ListBox
control = new();
6087
using
ListBox
control = new();
6103
using
ListBox
control = new();
6114
using
ListBox
listBox = new();
6155
using
ListBox
listBox = new() { SelectionMode = mode };
6195
using
ListBox
listBox = new();
6231
using
ListBox
listBox = new() { SelectionMode = mode };
6267
using
ListBox
listBox = new() { FormattingEnabled = formattingEnabled };
6288
using
ListBox
listBox = new()
6310
using
ListBox
listBox = new();
6323
using
ListBox
listBox = new();
6340
using
ListBox
listBox = new();
6353
using
ListBox
listBox = new()
6377
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;
WinFormsControlsTest (10)
ListBoxes.cs (6)
19
var
listBox = (
ListBox
)((object[])control.Tag)[0];
27
var
listBox = (
ListBox
)control.Tag;
33
var
listBox = (
ListBox
)sender;
ListBoxes.Designer.cs (3)
233
private System.Windows.Forms.
ListBox
listBox1;
243
private System.Windows.Forms.
ListBox
listBox3;
248
private System.Windows.Forms.
ListBox
listBox4;
ScrollableControls.Designer.cs (1)
501
private
ListBox
listBox1;