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)
4440return 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)
18Control.ControlCollection collection = new(owner); 28Assert.Throws<ArgumentNullException>("owner", () => new Control.ControlCollection(null)); 37var collection = new Control.ControlCollection(owner); 392var collection = new Control.ControlCollection(owner); 545var collection = new Control.ControlCollection(owner); 588var collection = new Control.ControlCollection(owner); 643var collection = new Control.ControlCollection(owner); 793var collection = new Control.ControlCollection(owner); 946var collection = new Control.ControlCollection(owner); 1019var collection = new Control.ControlCollection(owner); 1114var collection = new Control.ControlCollection(owner); 1133var collection = new Control.ControlCollection(owner); 1157var collection = new Control.ControlCollection(owner); 1170var collection = new Control.ControlCollection(owner); 1182var collection = new Control.ControlCollection(owner); 1198var collection = new Control.ControlCollection(owner); 1278var collection = new Control.ControlCollection(owner); 1289var collection = new Control.ControlCollection(owner) 1339var sourceCollection = new Control.ControlCollection(owner); 1379var collection = new Control.ControlCollection(owner); 1416var collection = new Control.ControlCollection(owner) 1515var collection = new Control.ControlCollection(owner); 1524var collection = new Control.ControlCollection(owner); 1538var collection = new Control.ControlCollection(owner); 1552var collection = new Control.ControlCollection(owner); 1575var collection = new Control.ControlCollection(owner); 1589var collection = new Control.ControlCollection(owner); 1613var collection = new Control.ControlCollection(owner) 1650var collection = new Control.ControlCollection(owner); 1675var collection = new Control.ControlCollection(owner) 1708var collection = new Control.ControlCollection(owner) 1745var collection = new Control.ControlCollection(owner); 1782var collection = new Control.ControlCollection(owner) 1815var collection = new Control.ControlCollection(owner) 1851var collection = new Control.ControlCollection(owner) 1872var collection = new Control.ControlCollection(owner) 1891var collection = new Control.ControlCollection(owner); 1903var collection = new Control.ControlCollection(owner) 1916var collection = new Control.ControlCollection(owner) 1978var collection = new Control.ControlCollection(owner) 2214var collection1 = new Control.ControlCollection(owner1); 2215var collection2 = new Control.ControlCollection(owner2); 2239var collection = new Control.ControlCollection(owner) 2285var collection = new Control.ControlCollection(owner) 2343var collection = new Control.ControlCollection(owner) 2487var collection = new Control.ControlCollection(owner) 2619var collection = new Control.ControlCollection(owner) 2683var collection = new Control.ControlCollection(owner) 2770var collection = new Control.ControlCollection(owner) 2848var collection = new Control.ControlCollection(owner) 2904var collection = new Control.ControlCollection(owner); 2916var collection = new Control.ControlCollection(owner) 2941var collection = new Control.ControlCollection(owner) 3017var collection = new Control.ControlCollection(owner) 3039var collection = new Control.ControlCollection(owner) 3107var collection = new Control.ControlCollection(owner) 3412var collection = new Control.ControlCollection(owner); 3421var collection = new Control.ControlCollection(owner) 3506IList collection = new Control.ControlCollection(owner); 3517IList collection = new Control.ControlCollection(owner) 3577IList collection = new Control.ControlCollection(owner);
System\Windows\Forms\ControlTests.Properties.cs (1)
3647yield return new object[] { new Control.ControlCollection(new Control()) };
System\Windows\Forms\StatusStripTests.cs (1)
1257protected override ControlCollection CreateControlsInstance() => new(this);