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;
26 references to LayoutEngine
System.Windows.Forms (26)
System\Windows\Forms\Control.cs (9)
717
if (value && parent.
LayoutEngine
== DefaultLayout.Instance)
719
parent.
LayoutEngine
.InitLayout(this, BoundsSpecified.Size);
4315
ParentInternal?.
LayoutEngine
.InitLayout(this, BoundsSpecified.All);
5852
LayoutEngine
.InitLayout(this, BoundsSpecified.All);
7768
bool parentRequiresLayout =
LayoutEngine
.Layout(this, levent);
8459
LayoutEngine
.ProcessSuspendedLayoutEventArgs(this, args);
9546
LayoutEngine
.InitLayout(child, BoundsSpecified.All);
9876
&& (parent.
LayoutEngine
== DefaultLayout.Instance))
10222
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 (3)
101
if (ParentInternal.
LayoutEngine
== DefaultLayout.Instance)
103
ParentInternal.
LayoutEngine
.InitLayout(this, BoundsSpecified.Size);
604
Size prefSize =
LayoutEngine
.GetPreferredSize(this, proposedSize - totalPadding);
System\Windows\Forms\Form.cs (2)
549
if (toLayout.
LayoutEngine
== DefaultLayout.Instance)
551
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);