5 implementations of Container
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (1)
12560IArrangedElement? 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)
197LayoutTransaction.DoLayout(element.Container, element, PropertyNames.Margin); 217LayoutTransaction.DoLayout(element.Container, element, PropertyNames.MaximumSize); 232using (new LayoutTransaction(element.Container as Control, element, PropertyNames.MinimumSize)) 505if (element.Container is Control { LayoutEngine: DefaultLayout }) 663LayoutTransaction.DoLayout(element.Container, element, PropertyNames.FlowBreak);
System\Windows\Forms\Layout\DefaultLayout.cs (15)
712Debug.Assert(!HasCachedBounds(element.Container), "Do not call this method with an active cached bounds list."); 714if (element.Container is null) 748Rectangle parentDisplayRect = element.Container.DisplayRectangle; 914if (element.Container is not null) 918if (element.Container.Container is not null && (rightReleased || bottomReleased)) 923LayoutTransaction.DoLayout(element.Container.Container, element, PropertyNames.Anchor); 926LayoutTransaction.DoLayout(element.Container, element, PropertyNames.Anchor); 935Debug.Assert(!HasCachedBounds(element.Container), "Do not call this method with an active cached bounds list."); 944using (new LayoutTransaction(element.Container as Control, element, PropertyNames.Dock)) 988Rectangle displayRect = element.Container!.DisplayRectangle; 1005if (element.Container is { } container) 1052Debug.Assert(element.Container == container, "We have non-children in our containers cached bounds store."); 1074if (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);