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;
27 references to LayoutEngine
System.Windows.Forms (27)
System\Windows\Forms\Control.cs (9)
727if (value && parent.LayoutEngine == DefaultLayout.Instance) 729parent.LayoutEngine.InitLayout(this, BoundsSpecified.Size); 4531ParentInternal?.LayoutEngine.InitLayout(this, BoundsSpecified.All); 6076LayoutEngine.InitLayout(this, BoundsSpecified.All); 8376bool parentRequiresLayout = LayoutEngine.Layout(this, levent); 9188LayoutEngine.ProcessSuspendedLayoutEventArgs(this, args); 10275LayoutEngine.InitLayout(child, BoundsSpecified.All); 10605&& (parent.LayoutEngine == DefaultLayout.Instance)) 10951ParentInternal.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 (4)
101if (ParentInternal.LayoutEngine == DefaultLayout.Instance) 103ParentInternal.LayoutEngine.InitLayout(this, BoundsSpecified.Size); 634Size preferredSize = LayoutEngine.GetPreferredSize( 645Size prefSize = LayoutEngine.GetPreferredSize(this, proposedSize - totalPadding);
System\Windows\Forms\Form.cs (2)
552if (toLayout.LayoutEngine == DefaultLayout.Instance) 554toLayout.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);