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)
14var collection = new ListBox.ObjectCollection(owner); 25var collection = new ListBox.ObjectCollection(owner, (object[])[3, 2, 1]); 36var otherCollection = new ListBox.ObjectCollection(otherOwner, (object[])[3, 2, 1]); 38var collection = new ListBox.ObjectCollection(owner, otherCollection); 49Assert.Throws<ArgumentNullException>("owner", () => new ListBox.ObjectCollection(null)); 50Assert.Throws<ArgumentNullException>("owner", () => new ListBox.ObjectCollection(null, new ListBox.ObjectCollection(owner))); 51Assert.Throws<ArgumentNullException>("owner", () => new ListBox.ObjectCollection(null, Array.Empty<object>())); 62var otherCollection = new ListBox.ObjectCollection(otherOwner); 64var emptyCollection = new ListBox.ObjectCollection(owner); 70Assert.Throws<ArgumentException>(() => new ListBox.ObjectCollection(owner, Array.Empty<object>())); 71Assert.Throws<ArgumentException>(() => new ListBox.ObjectCollection(owner, otherCollection)); 78Assert.Throws<ArgumentNullException>("value", () => new ListBox.ObjectCollection(owner, (object[])null)); 79Assert.Throws<ArgumentNullException>("value", () => new ListBox.ObjectCollection(owner, (ListBox.ObjectCollection)null)); 86ICollection collection = new ListBox.ObjectCollection(owner); 96IList collection = new ListBox.ObjectCollection(owner); 108var collection = new ListBox.ObjectCollection(owner); 124var collection = new ListBox.ObjectCollection(owner); 140var collection = new ListBox.ObjectCollection(owner); 151var collection = new ListBox.ObjectCollection(owner) 162var collection = new ListBox.ObjectCollection(owner); 203var collection = new ListBox.ObjectCollection(owner); 1252var collection = new ListBox.ObjectCollection(owner); 1264var collection = new ListBox.ObjectCollection(owner) 1278var collection = new ListBox.ObjectCollection(owner); 1289var collection = new ListBox.ObjectCollection(owner) 1300var collection = new ListBox.ObjectCollection(owner); 1385var collection = new ListBox.ObjectCollection(owner); 1470var collection = new ListBox.ObjectCollection(owner); 1631var collection = new ListBox.ObjectCollection(owner); 2145var collection = new ListBox.ObjectCollection(owner) 2183var collection = new ListBox.ObjectCollection(owner); 2194var collection = new ListBox.ObjectCollection(owner); 2210var collection = new ListBox.ObjectCollection(owner); 2219var collection = new ListBox.ObjectCollection(owner); 2270var collection = new ListBox.ObjectCollection(owner); 2321var collection = new ListBox.ObjectCollection(owner); 2428var collection = new ListBox.ObjectCollection(owner); 2843var collection = new ListBox.ObjectCollection(owner); 2873var collection = new ListBox.ObjectCollection(owner); 2878var otherCollection = new ListBox.ObjectCollection(otherOwner); 2889var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 2907var otherCollection = new ListBox.ObjectCollection(otherOwner); 2918var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 2934var collection = new ListBox.ObjectCollection(owner); 2939var otherCollection = new ListBox.ObjectCollection(otherOwner); 2950var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 2971var otherCollection = new ListBox.ObjectCollection(otherOwner); 2982var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 2995var collection = new ListBox.ObjectCollection(owner); 3006var otherCollection = new ListBox.ObjectCollection(otherOwner); 3028var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3063var otherCollection = new ListBox.ObjectCollection(otherOwner); 3085var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3112var collection = new ListBox.ObjectCollection(owner); 3123var otherCollection = new ListBox.ObjectCollection(otherOwner); 3145var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3183var otherCollection = new ListBox.ObjectCollection(otherOwner); 3205var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3238var otherCollection = new ListBox.ObjectCollection(otherOwner); 3249var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3274var otherCollection = new ListBox.ObjectCollection(otherOwner); 3285var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3314var otherCollection = new ListBox.ObjectCollection(otherOwner); 3325var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3354var otherCollection = new ListBox.ObjectCollection(otherOwner); 3364var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3392var otherCollection = new ListBox.ObjectCollection(otherOwner); 3406var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3441var otherCollection = new ListBox.ObjectCollection(otherOwner); 3455var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3494var otherCollection = new ListBox.ObjectCollection(otherOwner); 3508var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3547var otherCollection = new ListBox.ObjectCollection(otherOwner); 3561var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3577var collection = new ListBox.ObjectCollection(owner); 3579var otherCollection = new ListBox.ObjectCollection(otherOwner); 3593var otherCollection = new ListBox.ObjectCollection(otherOwner); 3613var collection = new ListBox.ObjectCollection(owner); 3622var collection = new ListBox.ObjectCollection(owner) 3634var collection = new ListBox.ObjectCollection(owner) 3647var collection = new ListBox.ObjectCollection(owner); 3656var collection = new ListBox.ObjectCollection(owner); 3667var collection = new ListBox.ObjectCollection(owner); 3669var otherCollection = new ListBox.ObjectCollection(otherOwner); 3686var collection = new ListBox.ObjectCollection(owner); 3689var otherCollection = new ListBox.ObjectCollection(otherOwner) 3702var collection = new ListBox.ObjectCollection(owner); 3744var collection = new ListBox.ObjectCollection(owner) 3792var collection = new ListBox.ObjectCollection(owner); 3866var collection = new ListBox.ObjectCollection(owner); 3942var collection = new ListBox.ObjectCollection(owner); 3953var collection = new ListBox.ObjectCollection(owner) 3977var collection = new ListBox.ObjectCollection(owner); 3985var collection = new ListBox.ObjectCollection(owner); 3995var collection = new ListBox.ObjectCollection(owner) 4009var collection = new ListBox.ObjectCollection(owner); 4017var collection = new ListBox.ObjectCollection(owner) 4028var collection = new ListBox.ObjectCollection(owner); 4051var collection = new ListBox.ObjectCollection(owner) 4080var collection = new ListBox.ObjectCollection(owner); 4091var collection = new ListBox.ObjectCollection(owner) 4115var collection = new ListBox.ObjectCollection(owner); 4123var collection = new ListBox.ObjectCollection(owner); 4208var collection = new ListBox.ObjectCollection(owner); 4293var collection = new ListBox.ObjectCollection(owner); 4454var collection = new ListBox.ObjectCollection(owner); 4960var collection = new ListBox.ObjectCollection(owner); 4999var collection = new ListBox.ObjectCollection(owner); 5010var collection = new ListBox.ObjectCollection(owner) 5021var collection = new ListBox.ObjectCollection(owner); 5032var collection = new ListBox.ObjectCollection(owner); 5048var collection = new ListBox.ObjectCollection(owner); 5057var collection = new ListBox.ObjectCollection(owner) 5147var collection = new ListBox.ObjectCollection(owner) 5237var collection = new ListBox.ObjectCollection(owner); 5389var collection = new ListBox.ObjectCollection(owner); 5984var collection = new ListBox.ObjectCollection(owner); 5995var collection = new ListBox.ObjectCollection(owner); 6004var collection = new ListBox.ObjectCollection(owner) 6079var collection = new ListBox.ObjectCollection(owner) 6154var collection = new ListBox.ObjectCollection(owner); 6275var collection = new ListBox.ObjectCollection(owner); 6839var collection = new ListBox.ObjectCollection(owner); 6850var collection = new ListBox.ObjectCollection(owner) 6864var collection = new ListBox.ObjectCollection(owner); 6875var collection = new ListBox.ObjectCollection(owner); 6883IList collection = new ListBox.ObjectCollection(owner) 6904IList collection = new ListBox.ObjectCollection(owner) 6925IList collection = new ListBox.ObjectCollection(owner); 6936IList collection = new ListBox.ObjectCollection(owner) 6947IList collection = new ListBox.ObjectCollection(owner) 6992IList collection = new ListBox.ObjectCollection(owner) 8057IList collection = new ListBox.ObjectCollection(owner); 8069IList collection = new ListBox.ObjectCollection(owner) 8083IList collection = new ListBox.ObjectCollection(owner); 8094IList collection = new ListBox.ObjectCollection(owner) 8105IList collection = new ListBox.ObjectCollection(owner); 8190IList collection = new ListBox.ObjectCollection(owner); 8275IList collection = new ListBox.ObjectCollection(owner); 8436IList collection = new ListBox.ObjectCollection(owner); 8950IList collection = new ListBox.ObjectCollection(owner) 8988IList collection = new ListBox.ObjectCollection(owner); 8999IList collection = new ListBox.ObjectCollection(owner); 9015IList collection = new ListBox.ObjectCollection(owner); 9024IList collection = new ListBox.ObjectCollection(owner); 9066IList collection = new ListBox.ObjectCollection(owner) 9114IList collection = new ListBox.ObjectCollection(owner); 9188IList collection = new ListBox.ObjectCollection(owner); 9264IList collection = new ListBox.ObjectCollection(owner); 9275IList collection = new ListBox.ObjectCollection(owner) 9299IList collection = new ListBox.ObjectCollection(owner); 9307IList collection = new ListBox.ObjectCollection(owner); 9317IList collection = new ListBox.ObjectCollection(owner) 9331IList collection = new ListBox.ObjectCollection(owner); 9339IList collection = new ListBox.ObjectCollection(owner) 9350IList collection = new ListBox.ObjectCollection(owner); 9373IList collection = new ListBox.ObjectCollection(owner) 9402IList collection = new ListBox.ObjectCollection(owner); 9413IList collection = new ListBox.ObjectCollection(owner) 9437IList collection = new ListBox.ObjectCollection(owner); 9445IList collection = new ListBox.ObjectCollection(owner); 9530IList collection = new ListBox.ObjectCollection(owner); 9615IList collection = new ListBox.ObjectCollection(owner); 9776IList collection = new ListBox.ObjectCollection(owner); 10282IList collection = new ListBox.ObjectCollection(owner); 10321IList collection = new ListBox.ObjectCollection(owner); 10332IList collection = new ListBox.ObjectCollection(owner) 10343IList collection = new ListBox.ObjectCollection(owner); 10354IList collection = new ListBox.ObjectCollection(owner); 10370IList collection = new ListBox.ObjectCollection(owner); 10379IList collection = new ListBox.ObjectCollection(owner) 10469IList collection = new ListBox.ObjectCollection(owner) 10559IList collection = new ListBox.ObjectCollection(owner); 10711IList collection = new ListBox.ObjectCollection(owner); 11306IList collection = new ListBox.ObjectCollection(owner); 11317IList collection = new ListBox.ObjectCollection(owner); 11326IList collection = new ListBox.ObjectCollection(owner) 11401IList collection = new ListBox.ObjectCollection(owner) 11476IList collection = new ListBox.ObjectCollection(owner); 11597IList collection = new ListBox.ObjectCollection(owner); 12161IList collection = new ListBox.ObjectCollection(owner); 12172IList collection = new ListBox.ObjectCollection(owner) 12186IList collection = new ListBox.ObjectCollection(owner); 12197IList collection = new ListBox.ObjectCollection(owner);
System\Windows\Forms\ListBoxTests.cs (1)
1849yield 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)
14var collection = new ListBox.ObjectCollection(owner); 25var collection = new ListBox.ObjectCollection(owner, (object[])[3, 2, 1]); 36var otherCollection = new ListBox.ObjectCollection(otherOwner, (object[])[3, 2, 1]); 38var collection = new ListBox.ObjectCollection(owner, otherCollection); 62var otherCollection = new ListBox.ObjectCollection(otherOwner); 64var emptyCollection = new ListBox.ObjectCollection(owner); 79Assert.Throws<ArgumentNullException>("value", () => new ListBox.ObjectCollection(owner, (ListBox.ObjectCollection)null)); 108var collection = new ListBox.ObjectCollection(owner); 124var collection = new ListBox.ObjectCollection(owner); 140var collection = new ListBox.ObjectCollection(owner); 151var collection = new ListBox.ObjectCollection(owner) 162var collection = new ListBox.ObjectCollection(owner); 203var collection = new ListBox.ObjectCollection(owner); 241ListBox.ObjectCollection collection = owner.Items; 282ListBox.ObjectCollection collection = owner.Items; 497ListBox.ObjectCollection collection = owner.Items; 586ListBox.ObjectCollection collection = owner.Items; 672ListBox.ObjectCollection collection = owner.Items; 721ListBox.ObjectCollection collection = owner.Items; 772ListBox.ObjectCollection collection = owner.Items; 842ListBox.ObjectCollection collection = owner.Items; 906ListBox.ObjectCollection collection = owner.Items; 979ListBox.ObjectCollection collection = owner.Items; 1054ListBox.ObjectCollection collection = owner.Items; 1154ListBox.ObjectCollection collection = owner.Items; 1252var collection = new ListBox.ObjectCollection(owner); 1264var collection = new ListBox.ObjectCollection(owner) 1278var collection = new ListBox.ObjectCollection(owner); 1289var collection = new ListBox.ObjectCollection(owner) 1300var collection = new ListBox.ObjectCollection(owner); 1341ListBox.ObjectCollection collection = owner.Items; 1385var collection = new ListBox.ObjectCollection(owner); 1429ListBox.ObjectCollection collection = owner.Items; 1470var collection = new ListBox.ObjectCollection(owner); 1549ListBox.ObjectCollection collection = owner.Items; 1631var collection = new ListBox.ObjectCollection(owner); 1713ListBox.ObjectCollection collection = owner.Items; 1792ListBox.ObjectCollection collection = owner.Items; 1824ListBox.ObjectCollection collection = owner.Items; 1858ListBox.ObjectCollection collection = owner.Items; 1903ListBox.ObjectCollection collection = owner.Items; 1938ListBox.ObjectCollection collection = owner.Items; 1983ListBox.ObjectCollection collection = owner.Items; 2030ListBox.ObjectCollection collection = owner.Items; 2091ListBox.ObjectCollection collection = owner.Items; 2145var collection = new ListBox.ObjectCollection(owner) 2161ListBox.ObjectCollection collection = owner.Items; 2183var collection = new ListBox.ObjectCollection(owner); 2194var collection = new ListBox.ObjectCollection(owner); 2210var collection = new ListBox.ObjectCollection(owner); 2219var collection = new ListBox.ObjectCollection(owner); 2243ListBox.ObjectCollection collection = owner.Items; 2270var collection = new ListBox.ObjectCollection(owner); 2297ListBox.ObjectCollection collection = owner.Items; 2321var collection = new ListBox.ObjectCollection(owner); 2373ListBox.ObjectCollection collection = owner.Items; 2428var collection = new ListBox.ObjectCollection(owner); 2483ListBox.ObjectCollection collection = owner.Items; 2535ListBox.ObjectCollection collection = owner.Items; 2566ListBox.ObjectCollection collection = owner.Items; 2599ListBox.ObjectCollection collection = owner.Items; 2635ListBox.ObjectCollection collection = owner.Items; 2662ListBox.ObjectCollection collection = owner.Items; 2706ListBox.ObjectCollection collection = owner.Items; 2752ListBox.ObjectCollection collection = owner.Items; 2801ListBox.ObjectCollection collection = owner.Items; 2843var collection = new ListBox.ObjectCollection(owner); 2854ListBox.ObjectCollection collection = owner.Items; 2873var collection = new ListBox.ObjectCollection(owner); 2878var otherCollection = new ListBox.ObjectCollection(otherOwner); 2889var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 2902ListBox.ObjectCollection collection = owner.Items; 2907var otherCollection = new ListBox.ObjectCollection(otherOwner); 2918var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 2934var collection = new ListBox.ObjectCollection(owner); 2939var otherCollection = new ListBox.ObjectCollection(otherOwner); 2950var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 2966ListBox.ObjectCollection collection = owner.Items; 2971var otherCollection = new ListBox.ObjectCollection(otherOwner); 2982var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 2995var collection = new ListBox.ObjectCollection(owner); 3006var otherCollection = new ListBox.ObjectCollection(otherOwner); 3028var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3052ListBox.ObjectCollection collection = owner.Items; 3063var otherCollection = new ListBox.ObjectCollection(otherOwner); 3085var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3112var collection = new ListBox.ObjectCollection(owner); 3123var otherCollection = new ListBox.ObjectCollection(otherOwner); 3145var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3172ListBox.ObjectCollection collection = owner.Items; 3183var otherCollection = new ListBox.ObjectCollection(otherOwner); 3205var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3229ListBox.ObjectCollection collection = owner.Items; 3238var otherCollection = new ListBox.ObjectCollection(otherOwner); 3249var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3265ListBox.ObjectCollection collection = owner.Items; 3274var otherCollection = new ListBox.ObjectCollection(otherOwner); 3285var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3303ListBox.ObjectCollection collection = owner.Items; 3314var otherCollection = new ListBox.ObjectCollection(otherOwner); 3325var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3344ListBox.ObjectCollection collection = owner.Items; 3354var otherCollection = new ListBox.ObjectCollection(otherOwner); 3364var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3376ListBox.ObjectCollection collection = owner.Items; 3392var otherCollection = new ListBox.ObjectCollection(otherOwner); 3406var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3425ListBox.ObjectCollection collection = owner.Items; 3441var otherCollection = new ListBox.ObjectCollection(otherOwner); 3455var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3476ListBox.ObjectCollection collection = owner.Items; 3494var otherCollection = new ListBox.ObjectCollection(otherOwner); 3508var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3530ListBox.ObjectCollection collection = owner.Items; 3547var otherCollection = new ListBox.ObjectCollection(otherOwner); 3561var emptyCollection = new ListBox.ObjectCollection(emptyOwner); 3577var collection = new ListBox.ObjectCollection(owner); 3579var otherCollection = new ListBox.ObjectCollection(otherOwner); 3591ListBox.ObjectCollection collection = owner.Items; 3593var otherCollection = new ListBox.ObjectCollection(otherOwner); 3613var collection = new ListBox.ObjectCollection(owner); 3622var collection = new ListBox.ObjectCollection(owner) 3634var collection = new ListBox.ObjectCollection(owner) 3647var collection = new ListBox.ObjectCollection(owner); 3649Assert.Throws<ArgumentNullException>("value", () => collection.AddRange((ListBox.ObjectCollection)null)); 3656var collection = new ListBox.ObjectCollection(owner); 3667var collection = new ListBox.ObjectCollection(owner); 3669var otherCollection = new ListBox.ObjectCollection(otherOwner); 3686var collection = new ListBox.ObjectCollection(owner); 3689var otherCollection = new ListBox.ObjectCollection(otherOwner) 3702var collection = new ListBox.ObjectCollection(owner); 3723ListBox.ObjectCollection collection = owner.Items; 3744var collection = new ListBox.ObjectCollection(owner) 3769ListBox.ObjectCollection collection = owner.Items; 3792var collection = new ListBox.ObjectCollection(owner); 3829ListBox.ObjectCollection collection = owner.Items; 3866var collection = new ListBox.ObjectCollection(owner); 3904ListBox.ObjectCollection collection = owner.Items; 3942var collection = new ListBox.ObjectCollection(owner); 3953var collection = new ListBox.ObjectCollection(owner) 3977var collection = new ListBox.ObjectCollection(owner); 3985var collection = new ListBox.ObjectCollection(owner); 3995var collection = new ListBox.ObjectCollection(owner) 4009var collection = new ListBox.ObjectCollection(owner); 4017var collection = new ListBox.ObjectCollection(owner) 4028var collection = new ListBox.ObjectCollection(owner); 4051var collection = new ListBox.ObjectCollection(owner) 4080var collection = new ListBox.ObjectCollection(owner); 4091var collection = new ListBox.ObjectCollection(owner) 4115var collection = new ListBox.ObjectCollection(owner); 4123var collection = new ListBox.ObjectCollection(owner); 4164ListBox.ObjectCollection collection = owner.Items; 4208var collection = new ListBox.ObjectCollection(owner); 4252ListBox.ObjectCollection collection = owner.Items; 4293var collection = new ListBox.ObjectCollection(owner); 4372ListBox.ObjectCollection collection = owner.Items; 4454var collection = new ListBox.ObjectCollection(owner); 4536ListBox.ObjectCollection collection = owner.Items; 4615ListBox.ObjectCollection collection = owner.Items; 4647ListBox.ObjectCollection collection = owner.Items; 4675ListBox.ObjectCollection collection = owner.Items; 4720ListBox.ObjectCollection collection = owner.Items; 4753ListBox.ObjectCollection collection = owner.Items; 4798ListBox.ObjectCollection collection = owner.Items; 4845ListBox.ObjectCollection collection = owner.Items; 4906ListBox.ObjectCollection collection = owner.Items; 4960var collection = new ListBox.ObjectCollection(owner); 4974ListBox.ObjectCollection collection = owner.Items; 4999var collection = new ListBox.ObjectCollection(owner); 5010var collection = new ListBox.ObjectCollection(owner) 5021var collection = new ListBox.ObjectCollection(owner); 5032var collection = new ListBox.ObjectCollection(owner); 5048var collection = new ListBox.ObjectCollection(owner); 5057var collection = new ListBox.ObjectCollection(owner) 5103ListBox.ObjectCollection collection = owner.Items; 5147var collection = new ListBox.ObjectCollection(owner) 5196ListBox.ObjectCollection collection = owner.Items; 5237var collection = new ListBox.ObjectCollection(owner); 5309ListBox.ObjectCollection collection = owner.Items; 5389var collection = new ListBox.ObjectCollection(owner); 5464ListBox.ObjectCollection collection = owner.Items; 5541ListBox.ObjectCollection collection = owner.Items; 5582ListBox.ObjectCollection collection = owner.Items; 5625ListBox.ObjectCollection collection = owner.Items; 5678ListBox.ObjectCollection collection = owner.Items; 5724ListBox.ObjectCollection collection = owner.Items; 5786ListBox.ObjectCollection collection = owner.Items; 5850ListBox.ObjectCollection collection = owner.Items; 5919ListBox.ObjectCollection collection = owner.Items; 5984var collection = new ListBox.ObjectCollection(owner); 5995var collection = new ListBox.ObjectCollection(owner); 6004var collection = new ListBox.ObjectCollection(owner) 6042ListBox.ObjectCollection collection = owner.Items; 6079var collection = new ListBox.ObjectCollection(owner) 6120ListBox.ObjectCollection collection = owner.Items; 6154var collection = new ListBox.ObjectCollection(owner); 6211ListBox.ObjectCollection collection = owner.Items; 6275var collection = new ListBox.ObjectCollection(owner); 6335ListBox.ObjectCollection collection = owner.Items; 6396ListBox.ObjectCollection collection = owner.Items; 6437ListBox.ObjectCollection collection = owner.Items; 6480ListBox.ObjectCollection collection = owner.Items; 6533ListBox.ObjectCollection collection = owner.Items; 6579ListBox.ObjectCollection collection = owner.Items; 6641ListBox.ObjectCollection collection = owner.Items; 6705ListBox.ObjectCollection collection = owner.Items; 6774ListBox.ObjectCollection collection = owner.Items; 6839var collection = new ListBox.ObjectCollection(owner); 6850var collection = new ListBox.ObjectCollection(owner) 6864var collection = new ListBox.ObjectCollection(owner); 6875var collection = new ListBox.ObjectCollection(owner);
System\Windows\Forms\ListBoxTests.cs (6)
1854public void ListBox_Items_GetCustomCreateItemCollection_ReturnsExpected(ListBox.ObjectCollection result) 1867public ListBox.ObjectCollection CreateListBoxResult { get; set; } 1869protected override ListBox.ObjectCollection CreateItemCollection() => CreateListBoxResult; 4773ListBox.ObjectCollection items = Assert.IsType<ListBox.ObjectCollection>(control.CreateItemCollection()); 6462public new ObjectCollection CreateItemCollection() => base.CreateItemCollection();