8 types derived from ContainerControl
System.Windows.Forms (8)
winforms\Managed\System\WinForms\Application.cs (1)
4089
internal sealed class ParkingWindow :
ContainerControl
, IArrangedElement {
winforms\Managed\System\WinForms\Form.cs (1)
53
public class Form :
ContainerControl
{
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
37
public class PropertyGrid :
ContainerControl
, IComPropertyBrowser, UnsafeNativeMethods.IPropertyNotifySink {
winforms\Managed\System\WinForms\SplitContainer.cs (1)
43
public class SplitContainer :
ContainerControl
, ISupportInitialize
winforms\Managed\System\WinForms\ToolStripContainer.cs (1)
25
public class ToolStripContainer :
ContainerControl
{
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
30
public class ToolStripPanel :
ContainerControl
, IArrangedElement {
winforms\Managed\System\WinForms\UpDownBase.cs (1)
31
public abstract class UpDownBase :
ContainerControl
{
winforms\Managed\System\WinForms\UserControl.cs (1)
38
public class UserControl :
ContainerControl
{
1 instantiation of ContainerControl
System.Windows.Forms (1)
winforms\Managed\System\WinForms\AxHost.cs (1)
4636
newParent = new
ContainerControl
();
120 references to ContainerControl
System.Windows.Forms (120)
winforms\Managed\System\WinForms\AxHost.cs (21)
198
private
ContainerControl
containingControl;
199
private
ContainerControl
newParent;
600
ContainerControl
f = ContainingControl;
608
ContainerControl
f = ContainingControl;
1315
ContainerControl
f = ContainingControl;
1828
ContainerControl
f = ContainingControl;
1938
ContainerControl
f = ContainingControl;
2280
public
ContainerControl
ContainingControl {
2320
private
ContainerControl
FindContainerControlInternal() {
2324
ContainerControl
rootControl = host.RootComponent as
ContainerControl
;
2332
ContainerControl
cc = null;
2335
ContainerControl
tempCC = control as
ContainerControl
;
4555
ContainerControl
f = ContainingControl;
4629
ContainerControl
f = ContainingControl;
5254
internal
ContainerControl
parent;
5274
internal AxContainer(
ContainerControl
parent) {
5701
ContainerControl
f = axctl.ContainingControl;
5818
ContainerControl
f = site.ContainingControl;
5851
ContainerControl
f = site.ContainingControl;
winforms\Managed\System\WinForms\ComboBox.cs (2)
1741
ContainerControl
container = c as
ContainerControl
;
winforms\Managed\System\WinForms\ContainerControl.cs (43)
59
/// <para>Initializes a new instance of the <see cref='System.Windows.Forms.
ContainerControl
'/>
398
ContainerControl
cc = null;
402
cc = (parent.GetContainerControlInternal()) as
ContainerControl
;
465
ContainerControl
cc;
502
cc = ParentInternal.GetContainerControlInternal() as
ContainerControl
;
534
cc = parent.GetContainerControlInternal() as
ContainerControl
;
636
/// the <see cref='System.Windows.Forms.
ContainerControl
'/>
684
ContainerControl
cc = this;
690
cc = parent.GetContainerControlInternal() as
ContainerControl
;
1167
ContainerControl
parent = GetContainerControlInternal() as
ContainerControl
;
1391
ContainerControl
cc = this;
1395
cc = (value.ParentInternal.GetContainerControlInternal()) as
ContainerControl
;
1410
ContainerControl
ccAncestor = this;
1412
ccAncestor.ParentInternal.GetContainerControlInternal() is
ContainerControl
)
1414
ccAncestor = ccAncestor.ParentInternal.GetContainerControlInternal() as
ContainerControl
;
1429
internal
ContainerControl
InnerMostActiveContainerControl
1433
ContainerControl
ret = this;
1434
while (ret.ActiveControl is
ContainerControl
)
1436
ret = (
ContainerControl
) ret.ActiveControl;
1442
internal
ContainerControl
InnerMostFocusedContainerControl
1446
ContainerControl
ret = this;
1447
while (ret.focusedControl is
ContainerControl
)
1449
ret = (
ContainerControl
) ret.focusedControl;
1512
ContainerControl
innerMostFCC = InnerMostFocusedContainerControl;
1536
ContainerControl
cc = (innerMostFCC.ParentInternal.GetContainerControlInternal()) as
ContainerControl
;
1624
while (unvalidatedControl is
ContainerControl
) {
1625
ContainerControl
container = unvalidatedControl as
ContainerControl
;
1715
if (focusedControl is
ContainerControl
&& focusedControl.CausesValidation) {
1716
ContainerControl
c = (
ContainerControl
)focusedControl;
1799
if (currentActiveControl is
ContainerControl
) {
1800
ContainerControl
currentActiveContainerControl = currentActiveControl as
ContainerControl
;
1835
if (currentActiveControl is
ContainerControl
) {
1836
ContainerControl
currentActiveContainerControl = currentActiveControl as
ContainerControl
;
1869
if (activeControl is
ContainerControl
)
1871
((
ContainerControl
) activeControl).ResetActiveAndFocusedControlsRecursive();
1904
ContainerControl
knowncontainer = c as
ContainerControl
;
winforms\Managed\System\WinForms\Control.cs (16)
1934
ContainerControl
container = c as
ContainerControl
;
1937
ContainerControl
cc;
1940
cc = parent.GetContainerControlInternal() as
ContainerControl
;
6376
if (c is
ContainerControl
) {
6377
((
ContainerControl
)c).SetActiveControlInternal(this);
9886
internal
ContainerControl
ParentContainerControl {
9889
if (c is
ContainerControl
) {
9890
return c as
ContainerControl
;
12217
ContainerControl
parent = control.ParentContainerControl;
13894
ContainerControl
knowncontainer = c as
ContainerControl
;
15048
ContainerControl
cc = owner.GetContainerControlInternal() as
ContainerControl
;
19789
ContainerControl
container = parent.GetContainerControlInternal() as
ContainerControl
;
winforms\Managed\System\WinForms\DataGridViewCell.cs (2)
1320
ContainerControl
cc = dgv.GetContainerControlInternal() as
ContainerControl
;
winforms\Managed\System\WinForms\ErrorProvider.cs (5)
64
private
ContainerControl
parentControl;
97
public ErrorProvider(
ContainerControl
parentControl) : this() {
130
if (baseComp is
ContainerControl
) {
131
this.ContainerControl = (
ContainerControl
) baseComp;
203
public
ContainerControl
ContainerControl {
winforms\Managed\System\WinForms\Form.cs (3)
6396
ContainerControl
cc = this;
6398
while (cc.ActiveControl is
ContainerControl
)
6400
cc = cc.ActiveControl as
ContainerControl
;
winforms\Managed\System\WinForms\SplitContainer.cs (8)
1324
ContainerControl
cc = c as
ContainerControl
;
1983
ContainerControl
cc = c as
ContainerControl
;
2077
ContainerControl
container = ctl as
ContainerControl
;
2466
ContainerControl
cc = c as
ContainerControl
;
winforms\Managed\System\WinForms\TabControl.cs (5)
1952
while (c.ActiveControl is
ContainerControl
) {
1965
if (c is
ContainerControl
) {
1966
((
ContainerControl
)c).SetActiveControlInternal(this);
2092
if (c is
ContainerControl
) {
2093
((
ContainerControl
)c).SetActiveControlInternal(this);
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
1851
internal static ArrayList FindMergeableToolStrips(
ContainerControl
container) {
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
466
/// the <see cref='System.Windows.Forms.
ContainerControl
'/>
winforms\Managed\System\WinForms\ValidationConstraints.cs (1)
14
/// by the <see cref='
ContainerControl
.ValidateChildren'/> method.
winforms\Managed\System\WinForms\WebBrowserBase.cs (10)
67
private
ContainerControl
containingControl;
762
internal
ContainerControl
ContainingControl {
1032
ContainerControl
f = ContainingControl;
1208
internal
ContainerControl
FindContainerControlInternal() {
1213
if (comp != null && comp is
ContainerControl
) {
1214
return (
ContainerControl
)comp;
1219
ContainerControl
cc = null;
1221
ContainerControl
tempCC = control as
ContainerControl
;
1227
cc = Control.FromHandle(UnsafeNativeMethods.GetParent(new HandleRef(this, Handle))) as
ContainerControl
;
winforms\Managed\System\WinForms\WebBrowserContainer.cs (2)
356
ContainerControl
f = site.ContainingControl;
378
ContainerControl
parentContainer = parent.FindContainerControlInternal();