1 instantiation of AxContainer
System.Windows.Forms (1)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
589
container = Properties.AddValue(s_propAxContainer, new AxHost.
AxContainer
(this));
16 references to AxContainer
System.Windows.Forms (16)
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (2)
98
AxContainer
? container = FindContainerForControl(control);
425
internal static
AxContainer
? FindContainerForControl(Control control)
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (5)
27
private readonly WeakReference<
AxContainer
> _container;
30
internal ExtenderProxy(Control control,
AxContainer
container)
45
private
AxContainer
? GetContainer()
47
_container.TryGetTarget(out
AxContainer
? container);
269
AxContainer
? container = GetContainer();
System\Windows\Forms\ActiveX\AxHost.cs (5)
118
private
AxContainer
? _container;
121
private
AxContainer
? _axContainer;
2118
return
AxContainer
.GetNameForControl(this) ?? string.Empty;
3487
private
AxContainer
GetParentContainer()
3489
_container ??=
AxContainer
.FindContainerForControl(this);
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (1)
150
AxContainer
.ExtenderProxy? proxy = _host.GetParentContainer().GetExtenderProxyForControl(_host);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (3)
578
private void AxContainerFormCreated() => Properties.GetValueOrDefault<AxHost.
AxContainer
>(s_propAxContainer)?.FormCreated();
585
internal AxHost.
AxContainer
CreateAxContainer()
587
if (!Properties.TryGetValue(s_propAxContainer, out AxHost.
AxContainer
? container))