12 references to Instance
System.Windows.Forms (12)
System\Windows\Forms\Control.cs (3)
623if (value && parent.LayoutEngine == DefaultLayout.Instance) 665public virtual LayoutEngine LayoutEngine => DefaultLayout.Instance; 9779&& (parent.LayoutEngine == DefaultLayout.Instance))
System\Windows\Forms\Controls\Buttons\Button.cs (1)
65if (ParentInternal.LayoutEngine == DefaultLayout.Instance)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
101if (ParentInternal.LayoutEngine == DefaultLayout.Instance)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (1)
135get { return DefaultLayout.Instance; }
System\Windows\Forms\Form.cs (1)
553if (toLayout.LayoutEngine == DefaultLayout.Instance)
System\Windows\Forms\Layout\TableLayout.cs (2)
695if (containerInfo.Container is TableLayoutPanel tlp && tlp.ParentInternal is not null && tlp.ParentInternal.LayoutEngine == DefaultLayout.Instance) 823if (containerInfo.Container is TableLayoutPanel tlp && tlp.ParentInternal is not null && tlp.ParentInternal.LayoutEngine == DefaultLayout.Instance)
System\Windows\Forms\Panels\Panel.cs (1)
84if (ParentInternal.LayoutEngine == DefaultLayout.Instance)
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
383bool defaultLayoutEngine = (LayoutEngine == DefaultLayout.Instance);
System\Windows\Forms\UserControl.cs (1)
88if (toLayout.LayoutEngine == DefaultLayout.Instance)