4 overrides of LayoutEngine
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
1271
public override LayoutEngine
LayoutEngine
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
169
public override LayoutEngine
LayoutEngine
System\Windows\Forms\Panels\FlowLayoutPanel.cs (1)
23
public override LayoutEngine
LayoutEngine
=> FlowLayout.Instance;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
32
public override LayoutEngine
LayoutEngine
=> TableLayout.Instance;
27 references to LayoutEngine
System.Windows.Forms (27)
System\Windows\Forms\Control.cs (9)
727
if (value && parent.
LayoutEngine
== DefaultLayout.Instance)
729
parent.
LayoutEngine
.InitLayout(this, BoundsSpecified.Size);
4531
ParentInternal?.
LayoutEngine
.InitLayout(this, BoundsSpecified.All);
6076
LayoutEngine
.InitLayout(this, BoundsSpecified.All);
8376
bool parentRequiresLayout =
LayoutEngine
.Layout(this, levent);
9188
LayoutEngine
.ProcessSuspendedLayoutEventArgs(this, args);
10275
LayoutEngine
.InitLayout(child, BoundsSpecified.All);
10605
&& (parent.
LayoutEngine
== DefaultLayout.Instance))
10951
ParentInternal.
LayoutEngine
.InitLayout(this, specified);
System\Windows\Forms\Controls\Buttons\Button.cs (2)
65
if (ParentInternal.
LayoutEngine
== DefaultLayout.Instance)
67
ParentInternal.
LayoutEngine
.InitLayout(this, BoundsSpecified.Size);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (4)
101
if (ParentInternal.
LayoutEngine
== DefaultLayout.Instance)
103
ParentInternal.
LayoutEngine
.InitLayout(this, BoundsSpecified.Size);
634
Size preferredSize =
LayoutEngine
.GetPreferredSize(
645
Size prefSize =
LayoutEngine
.GetPreferredSize(this, proposedSize - totalPadding);
System\Windows\Forms\Form.cs (2)
552
if (toLayout.
LayoutEngine
== DefaultLayout.Instance)
554
toLayout.
LayoutEngine
.InitLayout(this, BoundsSpecified.Size);
System\Windows\Forms\Layout\CommonProperties.cs (1)
500
if (element.Container is Control {
LayoutEngine
: DefaultLayout })
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
680
return
LayoutEngine
.GetPreferredSize(this, proposedSize - totalPadding) + totalPadding;
System\Windows\Forms\Layout\TableLayout.cs (2)
695
if (containerInfo.Container is TableLayoutPanel tlp && tlp.ParentInternal is not null && tlp.ParentInternal.
LayoutEngine
== DefaultLayout.Instance)
823
if (containerInfo.Container is TableLayoutPanel tlp && tlp.ParentInternal is not null && tlp.ParentInternal.
LayoutEngine
== DefaultLayout.Instance)
System\Windows\Forms\Panels\Panel.cs (3)
80
if (ParentInternal.
LayoutEngine
== DefaultLayout.Instance)
82
ParentInternal.
LayoutEngine
.InitLayout(this, BoundsSpecified.Size);
154
return
LayoutEngine
.GetPreferredSize(this, proposedSize - totalPadding) + totalPadding;
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
375
bool defaultLayoutEngine = (
LayoutEngine
== DefaultLayout.Instance);
System\Windows\Forms\UserControl.cs (2)
88
if (toLayout.
LayoutEngine
== DefaultLayout.Instance)
90
toLayout.
LayoutEngine
.InitLayout(this, BoundsSpecified.Size);