1 type derived from ObjectCollection
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.ObjectCollection.cs (1)
8public new class ObjectCollection : ListBox.ObjectCollection
187 instantiations of ObjectCollection
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1294return new ObjectCollection(this);
System.Windows.Forms.Tests (186)
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (185)
16var collection = new ListBox.ObjectCollection(owner); 27var collection = new ListBox.ObjectCollection(owner, (object[])[3, 2, 1]); 38var otherCollection = new ListBox.ObjectCollection(otherOwner, (object[])[3, 2, 1]); 40var collection = new ListBox.ObjectCollection(owner, otherCollection); 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>())); 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)); 80Assert.Throws<ArgumentNullException>("value", () => new ListBox.ObjectCollection(owner, (object[])null)); 81Assert.Throws<ArgumentNullException>("value", () => new ListBox.ObjectCollection(owner, (ListBox.ObjectCollection)null)); 88ICollection collection = new ListBox.ObjectCollection(owner); 98IList collection = new ListBox.ObjectCollection(owner); 110var collection = new ListBox.ObjectCollection(owner); 126var collection = new ListBox.ObjectCollection(owner); 142var collection = new ListBox.ObjectCollection(owner); 153var collection = new ListBox.ObjectCollection(owner) 164var collection = new ListBox.ObjectCollection(owner); 205var collection = new ListBox.ObjectCollection(owner); 1254var collection = new ListBox.ObjectCollection(owner); 1266var collection = new ListBox.ObjectCollection(owner) 1280var collection = new ListBox.ObjectCollection(owner); 1291var collection = new ListBox.ObjectCollection(owner) 1302var collection = new ListBox.ObjectCollection(owner); 1387var collection = new ListBox.ObjectCollection(owner); 1472var collection = new ListBox.ObjectCollection(owner); 1633var collection = new ListBox.ObjectCollection(owner); 2147var collection = new ListBox.ObjectCollection(owner) 2185var collection = new ListBox.ObjectCollection(owner); 2196var collection = new ListBox.ObjectCollection(owner); 2212var collection = new ListBox.ObjectCollection(owner); 2221var collection = new ListBox.ObjectCollection(owner); 2272var collection = new ListBox.ObjectCollection(owner); 2323var collection = new ListBox.ObjectCollection(owner); 2430var collection = new ListBox.ObjectCollection(owner); 2845var collection = new ListBox.ObjectCollection(owner); 2875var collection = new ListBox.ObjectCollection(owner); 2880var otherCollection = new ListBox.ObjectCollection(otherOwner); 2891var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 2909var otherCollection = new ListBox.ObjectCollection(otherOwner); 2920var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 2936var collection = new ListBox.ObjectCollection(owner); 2941var otherCollection = new ListBox.ObjectCollection(otherOwner); 2952var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 2973var otherCollection = new ListBox.ObjectCollection(otherOwner); 2984var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 2997var collection = new ListBox.ObjectCollection(owner); 3008var otherCollection = new ListBox.ObjectCollection(otherOwner); 3030var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3065var otherCollection = new ListBox.ObjectCollection(otherOwner); 3087var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3114var collection = new ListBox.ObjectCollection(owner); 3125var otherCollection = new ListBox.ObjectCollection(otherOwner); 3147var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3185var otherCollection = new ListBox.ObjectCollection(otherOwner); 3207var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3240var otherCollection = new ListBox.ObjectCollection(otherOwner); 3251var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3276var otherCollection = new ListBox.ObjectCollection(otherOwner); 3287var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3316var otherCollection = new ListBox.ObjectCollection(otherOwner); 3327var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3356var otherCollection = new ListBox.ObjectCollection(otherOwner); 3366var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3394var otherCollection = new ListBox.ObjectCollection(otherOwner); 3408var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3443var otherCollection = new ListBox.ObjectCollection(otherOwner); 3457var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3496var otherCollection = new ListBox.ObjectCollection(otherOwner); 3510var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3549var otherCollection = new ListBox.ObjectCollection(otherOwner); 3563var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3579var collection = new ListBox.ObjectCollection(owner); 3581var otherCollection = new ListBox.ObjectCollection(otherOwner); 3595var otherCollection = new ListBox.ObjectCollection(otherOwner); 3615var collection = new ListBox.ObjectCollection(owner); 3624var collection = new ListBox.ObjectCollection(owner) 3636var collection = new ListBox.ObjectCollection(owner) 3649var collection = new ListBox.ObjectCollection(owner); 3658var collection = new ListBox.ObjectCollection(owner); 3669var collection = new ListBox.ObjectCollection(owner); 3671var otherCollection = new ListBox.ObjectCollection(otherOwner); 3688var collection = new ListBox.ObjectCollection(owner); 3691var otherCollection = new ListBox.ObjectCollection(otherOwner) 3704var collection = new ListBox.ObjectCollection(owner); 3746var collection = new ListBox.ObjectCollection(owner) 3794var collection = new ListBox.ObjectCollection(owner); 3868var collection = new ListBox.ObjectCollection(owner); 3944var collection = new ListBox.ObjectCollection(owner); 3955var collection = new ListBox.ObjectCollection(owner) 3979var collection = new ListBox.ObjectCollection(owner); 3987var collection = new ListBox.ObjectCollection(owner); 3997var collection = new ListBox.ObjectCollection(owner) 4011var collection = new ListBox.ObjectCollection(owner); 4019var collection = new ListBox.ObjectCollection(owner) 4030var collection = new ListBox.ObjectCollection(owner); 4053var collection = new ListBox.ObjectCollection(owner) 4082var collection = new ListBox.ObjectCollection(owner); 4093var collection = new ListBox.ObjectCollection(owner) 4117var collection = new ListBox.ObjectCollection(owner); 4125var collection = new ListBox.ObjectCollection(owner); 4210var collection = new ListBox.ObjectCollection(owner); 4295var collection = new ListBox.ObjectCollection(owner); 4456var collection = new ListBox.ObjectCollection(owner); 4962var collection = new ListBox.ObjectCollection(owner); 5001var collection = new ListBox.ObjectCollection(owner); 5012var collection = new ListBox.ObjectCollection(owner) 5023var collection = new ListBox.ObjectCollection(owner); 5034var collection = new ListBox.ObjectCollection(owner); 5050var collection = new ListBox.ObjectCollection(owner); 5059var collection = new ListBox.ObjectCollection(owner) 5149var collection = new ListBox.ObjectCollection(owner) 5239var collection = new ListBox.ObjectCollection(owner); 5391var collection = new ListBox.ObjectCollection(owner); 5986var collection = new ListBox.ObjectCollection(owner); 5997var collection = new ListBox.ObjectCollection(owner); 6006var collection = new ListBox.ObjectCollection(owner) 6081var collection = new ListBox.ObjectCollection(owner) 6156var collection = new ListBox.ObjectCollection(owner); 6277var collection = new ListBox.ObjectCollection(owner); 6841var collection = new ListBox.ObjectCollection(owner); 6852var collection = new ListBox.ObjectCollection(owner) 6866var collection = new ListBox.ObjectCollection(owner); 6877var collection = new ListBox.ObjectCollection(owner); 6885IList collection = new ListBox.ObjectCollection(owner) 6906IList collection = new ListBox.ObjectCollection(owner) 6927IList collection = new ListBox.ObjectCollection(owner); 6938IList collection = new ListBox.ObjectCollection(owner) 6949IList collection = new ListBox.ObjectCollection(owner) 6994IList collection = new ListBox.ObjectCollection(owner) 8059IList collection = new ListBox.ObjectCollection(owner); 8071IList collection = new ListBox.ObjectCollection(owner) 8085IList collection = new ListBox.ObjectCollection(owner); 8096IList collection = new ListBox.ObjectCollection(owner) 8107IList collection = new ListBox.ObjectCollection(owner); 8192IList collection = new ListBox.ObjectCollection(owner); 8277IList collection = new ListBox.ObjectCollection(owner); 8438IList collection = new ListBox.ObjectCollection(owner); 8952IList collection = new ListBox.ObjectCollection(owner) 8990IList collection = new ListBox.ObjectCollection(owner); 9001IList collection = new ListBox.ObjectCollection(owner); 9017IList collection = new ListBox.ObjectCollection(owner); 9026IList collection = new ListBox.ObjectCollection(owner); 9068IList collection = new ListBox.ObjectCollection(owner) 9116IList collection = new ListBox.ObjectCollection(owner); 9190IList collection = new ListBox.ObjectCollection(owner); 9266IList collection = new ListBox.ObjectCollection(owner); 9277IList collection = new ListBox.ObjectCollection(owner) 9301IList collection = new ListBox.ObjectCollection(owner); 9309IList collection = new ListBox.ObjectCollection(owner); 9319IList collection = new ListBox.ObjectCollection(owner) 9333IList collection = new ListBox.ObjectCollection(owner); 9341IList collection = new ListBox.ObjectCollection(owner) 9352IList collection = new ListBox.ObjectCollection(owner); 9375IList collection = new ListBox.ObjectCollection(owner) 9404IList collection = new ListBox.ObjectCollection(owner); 9415IList collection = new ListBox.ObjectCollection(owner) 9439IList collection = new ListBox.ObjectCollection(owner); 9447IList collection = new ListBox.ObjectCollection(owner); 9532IList collection = new ListBox.ObjectCollection(owner); 9617IList collection = new ListBox.ObjectCollection(owner); 9778IList collection = new ListBox.ObjectCollection(owner); 10284IList collection = new ListBox.ObjectCollection(owner); 10323IList collection = new ListBox.ObjectCollection(owner); 10334IList collection = new ListBox.ObjectCollection(owner) 10345IList collection = new ListBox.ObjectCollection(owner); 10356IList collection = new ListBox.ObjectCollection(owner); 10372IList collection = new ListBox.ObjectCollection(owner); 10381IList collection = new ListBox.ObjectCollection(owner) 10471IList collection = new ListBox.ObjectCollection(owner) 10561IList collection = new ListBox.ObjectCollection(owner); 10713IList collection = new ListBox.ObjectCollection(owner); 11308IList collection = new ListBox.ObjectCollection(owner); 11319IList collection = new ListBox.ObjectCollection(owner); 11328IList collection = new ListBox.ObjectCollection(owner) 11403IList collection = new ListBox.ObjectCollection(owner) 11478IList collection = new ListBox.ObjectCollection(owner); 11599IList collection = new ListBox.ObjectCollection(owner); 12163IList collection = new ListBox.ObjectCollection(owner); 12174IList collection = new ListBox.ObjectCollection(owner) 12188IList collection = new ListBox.ObjectCollection(owner); 12199IList collection = new ListBox.ObjectCollection(owner);
System\Windows\Forms\ListBoxTests.cs (1)
1851yield return new object[] { new ListBox.ObjectCollection(new ListBox()) };
228 references to ObjectCollection
System.Windows.Forms (11)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
361protected override ListBox.ObjectCollection CreateItemCollection()
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (4)
44private ObjectCollection? _itemsCollection; 623public ObjectCollection Items 1292protected virtual ObjectCollection CreateItemCollection() 1971ObjectCollection? savedItems = _itemsCollection;
System\Windows\Forms\Controls\ListBoxes\ListBox.ObjectCollection.cs (2)
31public ObjectCollection(ListBox owner, ObjectCollection value) 163public void AddRange(ObjectCollection value)
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.cs (2)
189ObjectCollection items = _owner.Items; 204ObjectCollection items = _owner.Items;
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedObjectCollection.cs (2)
259ObjectCollection items = _owner.Items; 275ObjectCollection items = _owner.Items;
System.Windows.Forms.Tests (217)
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (211)
16var collection = new ListBox.ObjectCollection(owner); 27var collection = new ListBox.ObjectCollection(owner, (object[])[3, 2, 1]); 38var otherCollection = new ListBox.ObjectCollection(otherOwner, (object[])[3, 2, 1]); 40var collection = new ListBox.ObjectCollection(owner, otherCollection); 64var otherCollection = new ListBox.ObjectCollection(otherOwner); 66var emptyCollection = new ListBox.ObjectCollection(owner); 81Assert.Throws<ArgumentNullException>("value", () => new ListBox.ObjectCollection(owner, (ListBox.ObjectCollection)null)); 110var collection = new ListBox.ObjectCollection(owner); 126var collection = new ListBox.ObjectCollection(owner); 142var collection = new ListBox.ObjectCollection(owner); 153var collection = new ListBox.ObjectCollection(owner) 164var collection = new ListBox.ObjectCollection(owner); 205var collection = new ListBox.ObjectCollection(owner); 243ListBox.ObjectCollection collection = owner.Items; 284ListBox.ObjectCollection collection = owner.Items; 499ListBox.ObjectCollection collection = owner.Items; 588ListBox.ObjectCollection collection = owner.Items; 674ListBox.ObjectCollection collection = owner.Items; 723ListBox.ObjectCollection collection = owner.Items; 774ListBox.ObjectCollection collection = owner.Items; 844ListBox.ObjectCollection collection = owner.Items; 908ListBox.ObjectCollection collection = owner.Items; 981ListBox.ObjectCollection collection = owner.Items; 1056ListBox.ObjectCollection collection = owner.Items; 1156ListBox.ObjectCollection collection = owner.Items; 1254var collection = new ListBox.ObjectCollection(owner); 1266var collection = new ListBox.ObjectCollection(owner) 1280var collection = new ListBox.ObjectCollection(owner); 1291var collection = new ListBox.ObjectCollection(owner) 1302var collection = new ListBox.ObjectCollection(owner); 1343ListBox.ObjectCollection collection = owner.Items; 1387var collection = new ListBox.ObjectCollection(owner); 1431ListBox.ObjectCollection collection = owner.Items; 1472var collection = new ListBox.ObjectCollection(owner); 1551ListBox.ObjectCollection collection = owner.Items; 1633var collection = new ListBox.ObjectCollection(owner); 1715ListBox.ObjectCollection collection = owner.Items; 1794ListBox.ObjectCollection collection = owner.Items; 1826ListBox.ObjectCollection collection = owner.Items; 1860ListBox.ObjectCollection collection = owner.Items; 1905ListBox.ObjectCollection collection = owner.Items; 1940ListBox.ObjectCollection collection = owner.Items; 1985ListBox.ObjectCollection collection = owner.Items; 2032ListBox.ObjectCollection collection = owner.Items; 2093ListBox.ObjectCollection collection = owner.Items; 2147var collection = new ListBox.ObjectCollection(owner) 2163ListBox.ObjectCollection collection = owner.Items; 2185var collection = new ListBox.ObjectCollection(owner); 2196var collection = new ListBox.ObjectCollection(owner); 2212var collection = new ListBox.ObjectCollection(owner); 2221var collection = new ListBox.ObjectCollection(owner); 2245ListBox.ObjectCollection collection = owner.Items; 2272var collection = new ListBox.ObjectCollection(owner); 2299ListBox.ObjectCollection collection = owner.Items; 2323var collection = new ListBox.ObjectCollection(owner); 2375ListBox.ObjectCollection collection = owner.Items; 2430var collection = new ListBox.ObjectCollection(owner); 2485ListBox.ObjectCollection collection = owner.Items; 2537ListBox.ObjectCollection collection = owner.Items; 2568ListBox.ObjectCollection collection = owner.Items; 2601ListBox.ObjectCollection collection = owner.Items; 2637ListBox.ObjectCollection collection = owner.Items; 2664ListBox.ObjectCollection collection = owner.Items; 2708ListBox.ObjectCollection collection = owner.Items; 2754ListBox.ObjectCollection collection = owner.Items; 2803ListBox.ObjectCollection collection = owner.Items; 2845var collection = new ListBox.ObjectCollection(owner); 2856ListBox.ObjectCollection collection = owner.Items; 2875var collection = new ListBox.ObjectCollection(owner); 2880var otherCollection = new ListBox.ObjectCollection(otherOwner); 2891var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 2904ListBox.ObjectCollection collection = owner.Items; 2909var otherCollection = new ListBox.ObjectCollection(otherOwner); 2920var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 2936var collection = new ListBox.ObjectCollection(owner); 2941var otherCollection = new ListBox.ObjectCollection(otherOwner); 2952var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 2968ListBox.ObjectCollection collection = owner.Items; 2973var otherCollection = new ListBox.ObjectCollection(otherOwner); 2984var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 2997var collection = new ListBox.ObjectCollection(owner); 3008var otherCollection = new ListBox.ObjectCollection(otherOwner); 3030var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3054ListBox.ObjectCollection collection = owner.Items; 3065var otherCollection = new ListBox.ObjectCollection(otherOwner); 3087var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3114var collection = new ListBox.ObjectCollection(owner); 3125var otherCollection = new ListBox.ObjectCollection(otherOwner); 3147var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3174ListBox.ObjectCollection collection = owner.Items; 3185var otherCollection = new ListBox.ObjectCollection(otherOwner); 3207var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3231ListBox.ObjectCollection collection = owner.Items; 3240var otherCollection = new ListBox.ObjectCollection(otherOwner); 3251var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3267ListBox.ObjectCollection collection = owner.Items; 3276var otherCollection = new ListBox.ObjectCollection(otherOwner); 3287var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3305ListBox.ObjectCollection collection = owner.Items; 3316var otherCollection = new ListBox.ObjectCollection(otherOwner); 3327var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3346ListBox.ObjectCollection collection = owner.Items; 3356var otherCollection = new ListBox.ObjectCollection(otherOwner); 3366var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3378ListBox.ObjectCollection collection = owner.Items; 3394var otherCollection = new ListBox.ObjectCollection(otherOwner); 3408var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3427ListBox.ObjectCollection collection = owner.Items; 3443var otherCollection = new ListBox.ObjectCollection(otherOwner); 3457var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3478ListBox.ObjectCollection collection = owner.Items; 3496var otherCollection = new ListBox.ObjectCollection(otherOwner); 3510var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3532ListBox.ObjectCollection collection = owner.Items; 3549var otherCollection = new ListBox.ObjectCollection(otherOwner); 3563var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3579var collection = new ListBox.ObjectCollection(owner); 3581var otherCollection = new ListBox.ObjectCollection(otherOwner); 3593ListBox.ObjectCollection collection = owner.Items; 3595var otherCollection = new ListBox.ObjectCollection(otherOwner); 3615var collection = new ListBox.ObjectCollection(owner); 3624var collection = new ListBox.ObjectCollection(owner) 3636var collection = new ListBox.ObjectCollection(owner) 3649var collection = new ListBox.ObjectCollection(owner); 3651Assert.Throws<ArgumentNullException>("value", () => collection.AddRange((ListBox.ObjectCollection)null)); 3658var collection = new ListBox.ObjectCollection(owner); 3669var collection = new ListBox.ObjectCollection(owner); 3671var otherCollection = new ListBox.ObjectCollection(otherOwner); 3688var collection = new ListBox.ObjectCollection(owner); 3691var otherCollection = new ListBox.ObjectCollection(otherOwner) 3704var collection = new ListBox.ObjectCollection(owner); 3725ListBox.ObjectCollection collection = owner.Items; 3746var collection = new ListBox.ObjectCollection(owner) 3771ListBox.ObjectCollection collection = owner.Items; 3794var collection = new ListBox.ObjectCollection(owner); 3831ListBox.ObjectCollection collection = owner.Items; 3868var collection = new ListBox.ObjectCollection(owner); 3906ListBox.ObjectCollection collection = owner.Items; 3944var collection = new ListBox.ObjectCollection(owner); 3955var collection = new ListBox.ObjectCollection(owner) 3979var collection = new ListBox.ObjectCollection(owner); 3987var collection = new ListBox.ObjectCollection(owner); 3997var collection = new ListBox.ObjectCollection(owner) 4011var collection = new ListBox.ObjectCollection(owner); 4019var collection = new ListBox.ObjectCollection(owner) 4030var collection = new ListBox.ObjectCollection(owner); 4053var collection = new ListBox.ObjectCollection(owner) 4082var collection = new ListBox.ObjectCollection(owner); 4093var collection = new ListBox.ObjectCollection(owner) 4117var collection = new ListBox.ObjectCollection(owner); 4125var collection = new ListBox.ObjectCollection(owner); 4166ListBox.ObjectCollection collection = owner.Items; 4210var collection = new ListBox.ObjectCollection(owner); 4254ListBox.ObjectCollection collection = owner.Items; 4295var collection = new ListBox.ObjectCollection(owner); 4374ListBox.ObjectCollection collection = owner.Items; 4456var collection = new ListBox.ObjectCollection(owner); 4538ListBox.ObjectCollection collection = owner.Items; 4617ListBox.ObjectCollection collection = owner.Items; 4649ListBox.ObjectCollection collection = owner.Items; 4677ListBox.ObjectCollection collection = owner.Items; 4722ListBox.ObjectCollection collection = owner.Items; 4755ListBox.ObjectCollection collection = owner.Items; 4800ListBox.ObjectCollection collection = owner.Items; 4847ListBox.ObjectCollection collection = owner.Items; 4908ListBox.ObjectCollection collection = owner.Items; 4962var collection = new ListBox.ObjectCollection(owner); 4976ListBox.ObjectCollection collection = owner.Items; 5001var collection = new ListBox.ObjectCollection(owner); 5012var collection = new ListBox.ObjectCollection(owner) 5023var collection = new ListBox.ObjectCollection(owner); 5034var collection = new ListBox.ObjectCollection(owner); 5050var collection = new ListBox.ObjectCollection(owner); 5059var collection = new ListBox.ObjectCollection(owner) 5105ListBox.ObjectCollection collection = owner.Items; 5149var collection = new ListBox.ObjectCollection(owner) 5198ListBox.ObjectCollection collection = owner.Items; 5239var collection = new ListBox.ObjectCollection(owner); 5311ListBox.ObjectCollection collection = owner.Items; 5391var collection = new ListBox.ObjectCollection(owner); 5466ListBox.ObjectCollection collection = owner.Items; 5543ListBox.ObjectCollection collection = owner.Items; 5584ListBox.ObjectCollection collection = owner.Items; 5627ListBox.ObjectCollection collection = owner.Items; 5680ListBox.ObjectCollection collection = owner.Items; 5726ListBox.ObjectCollection collection = owner.Items; 5788ListBox.ObjectCollection collection = owner.Items; 5852ListBox.ObjectCollection collection = owner.Items; 5921ListBox.ObjectCollection collection = owner.Items; 5986var collection = new ListBox.ObjectCollection(owner); 5997var collection = new ListBox.ObjectCollection(owner); 6006var collection = new ListBox.ObjectCollection(owner) 6044ListBox.ObjectCollection collection = owner.Items; 6081var collection = new ListBox.ObjectCollection(owner) 6122ListBox.ObjectCollection collection = owner.Items; 6156var collection = new ListBox.ObjectCollection(owner); 6213ListBox.ObjectCollection collection = owner.Items; 6277var collection = new ListBox.ObjectCollection(owner); 6337ListBox.ObjectCollection collection = owner.Items; 6398ListBox.ObjectCollection collection = owner.Items; 6439ListBox.ObjectCollection collection = owner.Items; 6482ListBox.ObjectCollection collection = owner.Items; 6535ListBox.ObjectCollection collection = owner.Items; 6581ListBox.ObjectCollection collection = owner.Items; 6643ListBox.ObjectCollection collection = owner.Items; 6707ListBox.ObjectCollection collection = owner.Items; 6776ListBox.ObjectCollection collection = owner.Items; 6841var collection = new ListBox.ObjectCollection(owner); 6852var collection = new ListBox.ObjectCollection(owner) 6866var collection = new ListBox.ObjectCollection(owner); 6877var collection = new ListBox.ObjectCollection(owner);
System\Windows\Forms\ListBoxTests.cs (6)
1856public void ListBox_Items_GetCustomCreateItemCollection_ReturnsExpected(ListBox.ObjectCollection result) 1869public ObjectCollection CreateListBoxResult { get; set; } 1871protected override ObjectCollection CreateItemCollection() => CreateListBoxResult; 4775ListBox.ObjectCollection items = Assert.IsType<ListBox.ObjectCollection>(control.CreateItemCollection()); 6464public new ObjectCollection CreateItemCollection() => base.CreateItemCollection();