72 references to ControlCollection
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
BlazorWebView.cs (1)
318 public BlazorWebViewControlCollection(BlazorWebView owner) : base(owner)
System.Windows.Forms (7)
System\Windows\Forms\Control.cs (1)
4438return new ControlCollection(this);
System\Windows\Forms\Controls\DataGridView\DataGridView.ControlCollection.cs (1)
15: base(owner)
System\Windows\Forms\Controls\TabControl\TabControl.ControlCollection.cs (1)
14public ControlCollection(TabControl owner) : base(owner)
System\Windows\Forms\Controls\TabControl\TabPage.TabPageControlCollection.cs (1)
16public TabPageControlCollection(TabPage owner) : base(owner)
System\Windows\Forms\Form.ControlCollection.cs (1)
21: base(owner)
System\Windows\Forms\Internal\ReadOnlyControlCollection.cs (1)
16: base(owner)
System\Windows\Forms\MDI\MDIClient.ControlCollection.cs (1)
15public ControlCollection(MdiClient owner) : base(owner)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (1)
20public DesignerControlCollection(Control owner) : base(owner) => _realCollection = owner.Controls;
System.Windows.Forms.Tests (63)
System\Windows\Forms\ControlTests.ControlCollection.cs (61)
20Control.ControlCollection collection = new(owner); 30Assert.Throws<ArgumentNullException>("owner", () => new Control.ControlCollection(null)); 39var collection = new Control.ControlCollection(owner); 394var collection = new Control.ControlCollection(owner); 547var collection = new Control.ControlCollection(owner); 590var collection = new Control.ControlCollection(owner); 645var collection = new Control.ControlCollection(owner); 795var collection = new Control.ControlCollection(owner); 948var collection = new Control.ControlCollection(owner); 1021var collection = new Control.ControlCollection(owner); 1116var collection = new Control.ControlCollection(owner); 1135var collection = new Control.ControlCollection(owner); 1159var collection = new Control.ControlCollection(owner); 1172var collection = new Control.ControlCollection(owner); 1184var collection = new Control.ControlCollection(owner); 1200var collection = new Control.ControlCollection(owner); 1280var collection = new Control.ControlCollection(owner); 1291var collection = new Control.ControlCollection(owner) 1341var sourceCollection = new Control.ControlCollection(owner); 1381var collection = new Control.ControlCollection(owner); 1418var collection = new Control.ControlCollection(owner) 1517var collection = new Control.ControlCollection(owner); 1526var collection = new Control.ControlCollection(owner); 1540var collection = new Control.ControlCollection(owner); 1554var collection = new Control.ControlCollection(owner); 1577var collection = new Control.ControlCollection(owner); 1591var collection = new Control.ControlCollection(owner); 1615var collection = new Control.ControlCollection(owner) 1652var collection = new Control.ControlCollection(owner); 1677var collection = new Control.ControlCollection(owner) 1710var collection = new Control.ControlCollection(owner) 1747var collection = new Control.ControlCollection(owner); 1784var collection = new Control.ControlCollection(owner) 1817var collection = new Control.ControlCollection(owner) 1853var collection = new Control.ControlCollection(owner) 1874var collection = new Control.ControlCollection(owner) 1893var collection = new Control.ControlCollection(owner); 1905var collection = new Control.ControlCollection(owner) 1918var collection = new Control.ControlCollection(owner) 1980var collection = new Control.ControlCollection(owner) 2216var collection1 = new Control.ControlCollection(owner1); 2217var collection2 = new Control.ControlCollection(owner2); 2241var collection = new Control.ControlCollection(owner) 2287var collection = new Control.ControlCollection(owner) 2345var collection = new Control.ControlCollection(owner) 2489var collection = new Control.ControlCollection(owner) 2621var collection = new Control.ControlCollection(owner) 2685var collection = new Control.ControlCollection(owner) 2772var collection = new Control.ControlCollection(owner) 2850var collection = new Control.ControlCollection(owner) 2906var collection = new Control.ControlCollection(owner); 2918var collection = new Control.ControlCollection(owner) 2943var collection = new Control.ControlCollection(owner) 3019var collection = new Control.ControlCollection(owner) 3041var collection = new Control.ControlCollection(owner) 3109var collection = new Control.ControlCollection(owner) 3414var collection = new Control.ControlCollection(owner); 3423var collection = new Control.ControlCollection(owner) 3508IList collection = new Control.ControlCollection(owner); 3519IList collection = new Control.ControlCollection(owner) 3579IList collection = new Control.ControlCollection(owner);
System\Windows\Forms\ControlTests.Properties.cs (1)
3649yield return new object[] { new Control.ControlCollection(new Control()) };
System\Windows\Forms\StatusStripTests.cs (1)
1259protected override ControlCollection CreateControlsInstance() => new(this);