20 references to GetAutoSize
System.Windows.Forms (20)
System\Windows\Forms\Control.cs (1)
608
get => CommonProperties.
GetAutoSize
(this);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (1)
205
return CommonProperties.
GetAutoSize
(container);
System\Windows\Forms\Layout\CommonProperties.cs (7)
63
/// property and not calling base. If <see cref="
GetAutoSize
(IArrangedElement)"/> is false, a layout engine will
172
Debug.Assert(value !=
GetAutoSize
(element), "PERF: Caller should guard against setting AutoSize to original value.");
183
Debug.Assert(
GetAutoSize
(element) == value, "Error detected setting AutoSize.");
431
&&
GetAutoSize
(element) == DefaultAutoSize) != result,
448
|| (
GetAutoSize
(element) != DefaultAutoSize && xGetDock(element) == DockStyle.None)) == result,
502
if (
GetAutoSize
(element))
564
Debug.Assert(result == (
GetAutoSize
(element) && xGetDock(element) == DockStyle.None),
System\Windows\Forms\Layout\DefaultLayout.cs (7)
353
if (CommonProperties.
GetAutoSize
(container) && ((displayRectangle.Width == 0) || (displayRectangle.Height == 0)))
508
else if (dockStyle == DockStyle.Fill && CommonProperties.
GetAutoSize
(element))
526
if (CommonProperties.
GetAutoSize
(element) && !CommonProperties.GetSelfAutoSizeInDefaultLayout(element))
574
if (CommonProperties.
GetAutoSize
(element))
607
return CommonProperties.
GetAutoSize
(container);
684
return CommonProperties.
GetAutoSize
(container);
1025
if (CommonProperties.
GetAutoSize
(container))
System\Windows\Forms\Layout\FlowLayout.cs (1)
20
return CommonProperties.
GetAutoSize
(container);
System\Windows\Forms\Layout\FlowLayout.ElementProxy.cs (1)
50
public bool AutoSize => CommonProperties.
GetAutoSize
(_element!);
System\Windows\Forms\Layout\TableLayout.cs (2)
122
return CommonProperties.
GetAutoSize
(container);
865
CommonProperties.
GetAutoSize
(element)