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)
595
get =>
DefaultLayout
.GetAnchor(this);
596
set =>
DefaultLayout
.SetAnchor(this, value);
623
if (value && parent.LayoutEngine ==
DefaultLayout
.Instance)
665
public virtual LayoutEngine LayoutEngine =>
DefaultLayout
.Instance;
1697
get =>
DefaultLayout
.GetDock(this);
1703
DefaultLayout
.SetDock(this, value);
9779
&& (parent.LayoutEngine ==
DefaultLayout
.Instance))
9782
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)
655
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)
272
/// Setting the control to <see cref="DockStyle.Fill"/> (via <see cref="
DefaultLayout
"/> engine)
500
if (element.Container is Control { LayoutEngine:
DefaultLayout
})
529
/// 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)
823
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)