5 implementations of Container
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (1)
12590IArrangedElement? IArrangedElement.Container
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
966IArrangedElement? 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)
711Debug.Assert(!HasCachedBounds(element.Container), "Do not call this method with an active cached bounds list."); 713if (element.Container is null) 747Rectangle parentDisplayRect = element.Container.DisplayRectangle; 913if (element.Container is not null) 917if (element.Container.Container is not null && (rightReleased || bottomReleased)) 922LayoutTransaction.DoLayout(element.Container.Container, element, PropertyNames.Anchor); 925LayoutTransaction.DoLayout(element.Container, element, PropertyNames.Anchor); 934Debug.Assert(!HasCachedBounds(element.Container), "Do not call this method with an active cached bounds list."); 943using (new LayoutTransaction(element.Container as Control, element, PropertyNames.Dock)) 987Rectangle displayRect = element.Container!.DisplayRectangle; 1004if (element.Container is { } container) 1051Debug.Assert(element.Container == container, "We have non-children in our containers cached bounds store."); 1073if (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);