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