1 instantiation of DefaultLayout
System.Windows.Forms (1)
System\Windows\Forms\Layout\DefaultLayout.cs (1)
14
internal static DefaultLayout Instance { get; } =
new
();
24 references to DefaultLayout
System.Windows.Forms (24)
System\Windows\Forms\Control.cs (8)
594
get =>
DefaultLayout
.GetAnchor(this);
595
set =>
DefaultLayout
.SetAnchor(this, value);
622
if (value && parent.LayoutEngine ==
DefaultLayout
.Instance)
664
public virtual LayoutEngine LayoutEngine =>
DefaultLayout
.Instance;
1696
get =>
DefaultLayout
.GetDock(this);
1702
DefaultLayout
.SetDock(this, value);
9746
&& (parent.LayoutEngine ==
DefaultLayout
.Instance))
9749
DefaultLayout
.ScaleAnchorInfo(this, factor);
System\Windows\Forms\Controls\Buttons\Button.cs (1)
65
if (ParentInternal.LayoutEngine ==
DefaultLayout
.Instance)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
101
if (ParentInternal.LayoutEngine ==
DefaultLayout
.Instance)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
657
DefaultLayout
.SetDock(this, value);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (1)
135
get { return
DefaultLayout
.Instance; }
System\Windows\Forms\Form.cs (1)
553
if (toLayout.LayoutEngine ==
DefaultLayout
.Instance)
System\Windows\Forms\Layout\CommonProperties.cs (3)
277
/// Setting the control to <see cref="DockStyle.Fill"/> (via <see cref="
DefaultLayout
"/> engine)
505
if (element.Container is Control { LayoutEngine:
DefaultLayout
})
534
/// Do not use this. Use <see cref="
DefaultLayout
.GetAnchor(IArrangedElement)"/>.
System\Windows\Forms\Layout\DefaultLayout.cs (1)
14
internal static
DefaultLayout
Instance { get; } = new();
System\Windows\Forms\Layout\LayoutUtils.cs (2)
266
DockStyle dockStyle =
DefaultLayout
.GetDock(element);
272
return
DefaultLayout
.GetAnchor(element);
System\Windows\Forms\Layout\TableLayout.cs (2)
695
if (containerInfo.Container is TableLayoutPanel tlp && tlp.ParentInternal is not null && tlp.ParentInternal.LayoutEngine ==
DefaultLayout
.Instance)
821
if (containerInfo.Container is TableLayoutPanel tlp && tlp.ParentInternal is not null && tlp.ParentInternal.LayoutEngine ==
DefaultLayout
.Instance)
System\Windows\Forms\Panels\Panel.cs (1)
84
if (ParentInternal.LayoutEngine ==
DefaultLayout
.Instance)
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
383
bool defaultLayoutEngine = (LayoutEngine ==
DefaultLayout
.Instance);
System\Windows\Forms\UserControl.cs (1)
88
if (toLayout.LayoutEngine ==
DefaultLayout
.Instance)