4 overrides of LayoutEngine
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
1271public override LayoutEngine LayoutEngine
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
169public override LayoutEngine LayoutEngine
System\Windows\Forms\Panels\FlowLayoutPanel.cs (1)
23public override LayoutEngine LayoutEngine => FlowLayout.Instance;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
32public override LayoutEngine LayoutEngine => TableLayout.Instance;
26 references to LayoutEngine
System.Windows.Forms (26)
System\Windows\Forms\Control.cs (9)
717if (value && parent.LayoutEngine == DefaultLayout.Instance) 719parent.LayoutEngine.InitLayout(this, BoundsSpecified.Size); 4315ParentInternal?.LayoutEngine.InitLayout(this, BoundsSpecified.All); 5852LayoutEngine.InitLayout(this, BoundsSpecified.All); 7768bool parentRequiresLayout = LayoutEngine.Layout(this, levent); 8459LayoutEngine.ProcessSuspendedLayoutEventArgs(this, args); 9546LayoutEngine.InitLayout(child, BoundsSpecified.All); 9876&& (parent.LayoutEngine == DefaultLayout.Instance)) 10222ParentInternal.LayoutEngine.InitLayout(this, specified);
System\Windows\Forms\Controls\Buttons\Button.cs (2)
65if (ParentInternal.LayoutEngine == DefaultLayout.Instance) 67ParentInternal.LayoutEngine.InitLayout(this, BoundsSpecified.Size);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (3)
101if (ParentInternal.LayoutEngine == DefaultLayout.Instance) 103ParentInternal.LayoutEngine.InitLayout(this, BoundsSpecified.Size); 604Size prefSize = LayoutEngine.GetPreferredSize(this, proposedSize - totalPadding);
System\Windows\Forms\Form.cs (2)
549if (toLayout.LayoutEngine == DefaultLayout.Instance) 551toLayout.LayoutEngine.InitLayout(this, BoundsSpecified.Size);
System\Windows\Forms\Layout\CommonProperties.cs (1)
500if (element.Container is Control { LayoutEngine: DefaultLayout })
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
680return LayoutEngine.GetPreferredSize(this, proposedSize - totalPadding) + totalPadding;
System\Windows\Forms\Layout\TableLayout.cs (2)
695if (containerInfo.Container is TableLayoutPanel tlp && tlp.ParentInternal is not null && tlp.ParentInternal.LayoutEngine == DefaultLayout.Instance) 823if (containerInfo.Container is TableLayoutPanel tlp && tlp.ParentInternal is not null && tlp.ParentInternal.LayoutEngine == DefaultLayout.Instance)
System\Windows\Forms\Panels\Panel.cs (3)
80if (ParentInternal.LayoutEngine == DefaultLayout.Instance) 82ParentInternal.LayoutEngine.InitLayout(this, BoundsSpecified.Size); 154return LayoutEngine.GetPreferredSize(this, proposedSize - totalPadding) + totalPadding;
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
375bool defaultLayoutEngine = (LayoutEngine == DefaultLayout.Instance);
System\Windows\Forms\UserControl.cs (2)
88if (toLayout.LayoutEngine == DefaultLayout.Instance) 90toLayout.LayoutEngine.InitLayout(this, BoundsSpecified.Size);