5 implementations of Container
System.Windows.Forms (5)
winforms\Managed\System\WinForms\ArrangedElement.cs (1)
50
IArrangedElement IArrangedElement.
Container
{
winforms\Managed\System\WinForms\Control.cs (1)
14469
IArrangedElement IArrangedElement.
Container
{
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
1140
IArrangedElement IArrangedElement.
Container
{
winforms\Managed\System\WinForms\ToolStripOverflow.cs (1)
81
IArrangedElement IArrangedElement.
Container
{
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (1)
628
IArrangedElement IArrangedElement.
Container
{
32 references to Container
System.Windows.Forms (32)
winforms\Managed\System\WinForms\Layout\CommonProperties.cs (6)
198
LayoutTransaction.DoLayout(element.
Container
, element, PropertyNames.Margin);
219
LayoutTransaction.DoLayout(element.
Container
, element, PropertyNames.MaximumSize);
232
using (new LayoutTransaction(element.
Container
as Control, element, PropertyNames.MinimumSize)) {
457
if (element.
Container
is Control) {
458
if (((Control)element.
Container
).LayoutEngine is DefaultLayout) {
615
LayoutTransaction.DoLayout(element.
Container
, element, PropertyNames.FlowBreak);
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (17)
539
Debug.Assert(!HasCachedBounds(element.
Container
),
550
Debug.WriteLineIf(CompModSwitches.RichLayout.TraceInfo, element.
Container
== null ? "No parent" : "Parent");
553
if (CommonProperties.GetNeedsAnchorLayout(element) && element.
Container
!= null) {
568
Rectangle parentDisplayRect = element.
Container
.DisplayRectangle;
645
if (element.
Container
!= null) {
648
if(element.
Container
.
Container
!= null && (rightReleased || bottomReleased)) {
652
LayoutTransaction.DoLayout(element.
Container
.
Container
, element, PropertyNames.Anchor);
654
LayoutTransaction.DoLayout(element.
Container
, element, PropertyNames.Anchor);
665
Debug.Assert(!HasCachedBounds(element.
Container
),
677
using (new LayoutTransaction(element.
Container
as Control, element, PropertyNames.Dock)) {
715
if(element.
Container
!= null) {
716
IDictionary dictionary = (IDictionary) element.
Container
.Properties.GetObject(_cachedBoundsProperty);
754
Debug.Assert(element.
Container
== container,"We have non-children in our containers cached bounds store.");
778
IDictionary dictionary = (IDictionary) element.
Container
.Properties.GetObject(_cachedBoundsProperty);
781
element.
Container
.Properties.SetObject(_cachedBoundsProperty, dictionary);
winforms\Managed\System\WinForms\TableLayoutSettings.cs (9)
257
if (element.
Container
!= null) {
258
TableLayout.ClearCachedAssignments(TableLayout.GetContainerInfo(element.
Container
));
261
LayoutTransaction.DoLayout(element.
Container
, element, PropertyNames.ColumnSpan);
292
if (element.
Container
!= null) {
293
TableLayout.ClearCachedAssignments(TableLayout.GetContainerInfo(element.
Container
));
296
LayoutTransaction.DoLayout(element.
Container
, element, PropertyNames.RowSpan);
403
if (element.
Container
!= null) {
404
TableLayout.ClearCachedAssignments(TableLayout.GetContainerInfo(element.
Container
));
413
LayoutTransaction.DoLayout(element.
Container
, element, PropertyNames.TableIndex);