12 references to Instance
System.Windows.Forms (12)
System\Windows\Forms\Control.cs (3)
623
if (value && parent.LayoutEngine == DefaultLayout.
Instance
)
665
public virtual LayoutEngine LayoutEngine => DefaultLayout.
Instance
;
9779
&& (parent.LayoutEngine == DefaultLayout.
Instance
))
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\ToolStripPanelCell.cs (1)
135
get { return DefaultLayout.
Instance
; }
System\Windows\Forms\Form.cs (1)
553
if (toLayout.LayoutEngine == DefaultLayout.
Instance
)
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
)