5 implementations of Container
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (1)
12701IArrangedElement? IArrangedElement.Container
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
971IArrangedElement? IArrangedElement.Container => ParentInternal ?? Owner;
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflow.cs (1)
60IArrangedElement? IArrangedElement.Container
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
636IArrangedElement IArrangedElement.Container
System\Windows\Forms\Layout\ArrangedElement.cs (1)
40IArrangedElement? IArrangedElement.Container
29 references to Container
System.Windows.Forms (29)
System\Windows\Forms\Layout\CommonProperties.cs (5)
192LayoutTransaction.DoLayout(element.Container, element, PropertyNames.Margin); 212LayoutTransaction.DoLayout(element.Container, element, PropertyNames.MaximumSize); 227using (new LayoutTransaction(element.Container as Control, element, PropertyNames.MinimumSize)) 500if (element.Container is Control { LayoutEngine: DefaultLayout }) 658LayoutTransaction.DoLayout(element.Container, element, PropertyNames.FlowBreak);
System\Windows\Forms\Layout\DefaultLayout.cs (15)
716Debug.Assert(!HasCachedBounds(element.Container), "Do not call this method with an active cached bounds list."); 718if (element.Container is null) 752Rectangle parentDisplayRect = element.Container.DisplayRectangle; 921if (element.Container is not null) 925if (element.Container.Container is not null && (rightReleased || bottomReleased)) 930LayoutTransaction.DoLayout(element.Container.Container, element, PropertyNames.Anchor); 933LayoutTransaction.DoLayout(element.Container, element, PropertyNames.Anchor); 942Debug.Assert(!HasCachedBounds(element.Container), "Do not call this method with an active cached bounds list."); 951using (new LayoutTransaction(element.Container as Control, element, PropertyNames.Dock)) 995Rectangle displayRect = element.Container!.DisplayRectangle; 1012if (element.Container is { } container) 1059Debug.Assert(element.Container == container, "We have non-children in our containers cached bounds store."); 1081if (element.Container is { } container && bounds != GetCachedBounds(element))
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (9)
261if (element.Container is not null) 263TableLayout.ClearCachedAssignments(TableLayout.GetContainerInfo(element.Container)); 267LayoutTransaction.DoLayout(element.Container, element, PropertyNames.ColumnSpan); 299if (element.Container is not null) 301TableLayout.ClearCachedAssignments(TableLayout.GetContainerInfo(element.Container)); 305LayoutTransaction.DoLayout(element.Container, element, PropertyNames.RowSpan); 430if (element.Container is not null) 432TableLayout.ClearCachedAssignments(TableLayout.GetContainerInfo(element.Container)); 446LayoutTransaction.DoLayout(element.Container, element, PropertyNames.TableIndex);