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