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