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