1 instantiation of DefaultLayout
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (1)
22internal static readonly DefaultLayout Instance = new DefaultLayout();
22 references to DefaultLayout
System.Windows.Forms (22)
winforms\Managed\System\WinForms\Button.cs (1)
95if(ParentInternal.LayoutEngine == DefaultLayout.Instance) {
winforms\Managed\System\WinForms\Control.cs (8)
935return DefaultLayout.GetAnchor(this); 938DefaultLayout.SetAnchor(ParentInternal, this, value); 959if(value && ParentInternal.LayoutEngine == DefaultLayout.Instance) { 1018get { return DefaultLayout.Instance; } 2350return DefaultLayout.GetDock(this); 2359DefaultLayout.SetDock(this, value); 11556if (DpiHelper.EnableAnchorLayoutHighDpiImprovements && (ParentInternal != null) && (ParentInternal.LayoutEngine == DefaultLayout.Instance)) { 11558DefaultLayout.ScaleAnchorInfo((IArrangedElement)this, factor);
winforms\Managed\System\WinForms\Form.cs (1)
719if(toLayout.LayoutEngine == DefaultLayout.Instance) {
winforms\Managed\System\WinForms\GroupBox.cs (1)
141if(ParentInternal.LayoutEngine == DefaultLayout.Instance) {
winforms\Managed\System\WinForms\Layout\CommonProperties.cs (1)
458if (((Control)element.Container).LayoutEngine is DefaultLayout) {
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (1)
22internal static readonly DefaultLayout Instance = new DefaultLayout();
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (2)
240DockStyle dockStyle = DefaultLayout.GetDock(element); 244return DefaultLayout.GetAnchor(element);
winforms\Managed\System\WinForms\Layout\TableLayout.cs (2)
708if (tlp != null && tlp.ParentInternal != null && tlp.ParentInternal.LayoutEngine == DefaultLayout.Instance) { 818if (tlp != null && tlp.ParentInternal != null && tlp.ParentInternal.LayoutEngine == DefaultLayout.Instance) {
winforms\Managed\System\WinForms\Panel.cs (1)
112if(ParentInternal.LayoutEngine == DefaultLayout.Instance) {
winforms\Managed\System\WinForms\ScrollableControl.cs (1)
492bool defaultLayoutEngine = (LayoutEngine == DefaultLayout.Instance);
winforms\Managed\System\WinForms\ToolStrip.cs (1)
774DefaultLayout.SetDock(this, value);
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (1)
127get { return DefaultLayout.Instance; }
winforms\Managed\System\WinForms\UserControl.cs (1)
113if(toLayout.LayoutEngine == DefaultLayout.Instance) {