2 implementations of IContainerControl
System.Windows.Forms (1)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
15
public class ContainerControl : ScrollableControl,
IContainerControl
System.Windows.Forms.Tests (1)
System\Windows\Forms\ControlTests.Methods.cs (1)
14185
private class CustomContainerControl : Control,
IContainerControl
20 references to IContainerControl
System.Windows.Forms (20)
System\Windows\Forms\Control.cs (7)
5110
IContainerControl
? control = ParentInternal.GetContainerControl();
5241
public
IContainerControl
? GetContainerControl()
5251
return (
IContainerControl
?)c;
5256
return ((ctl._controlStyle & ControlStyles.ContainerControl) == ControlStyles.ContainerControl && ctl is
IContainerControl
);
9858
IContainerControl
? c = GetContainerControl();
9938
IContainerControl
? c = ParentInternal.GetContainerControl();
11951
IContainerControl
? c = GetContainerControl();
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
1535
IContainerControl
? c = GetContainerControl();
System\Windows\Forms\Controls\TabControl\TabControl.cs (4)
1847
IContainerControl
? c = GetContainerControl();
1852
c = (
IContainerControl
)c.ActiveControl;
1861
IContainerControl
? c = GetContainerControl();
1975
IContainerControl
? c = GetContainerControl();
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4133
IContainerControl
? c = ParentInternal.GetContainerControl();
System\Windows\Forms\Layout\Containers\ContainerControl.cs (3)
385
bool
IContainerControl
.ActivateControl(Control control)
1439
IContainerControl
? c = ParentInternal.GetContainerControl();
2018
if (ParentInternal?.GetContainerControl() is
IContainerControl
container)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (4)
1146
IContainerControl
? c = ParentInternal?.GetContainerControl();
1883
IContainerControl
? c = ParentInternal?.GetContainerControl();
2002
IContainerControl
? c = container.ParentInternal.GetContainerControl();
2370
IContainerControl
? c = ParentInternal?.GetContainerControl();