20 references to GetAutoSize
System.Windows.Forms (20)
System\Windows\Forms\Control.cs (1)
609
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
167
Debug.Assert(value !=
GetAutoSize
(element), "PERF: Caller should guard against setting AutoSize to original value.");
178
Debug.Assert(
GetAutoSize
(element) == value, "Error detected setting AutoSize.");
426
&&
GetAutoSize
(element) == DefaultAutoSize) != result,
443
|| (
GetAutoSize
(element) != DefaultAutoSize && xGetDock(element) == DockStyle.None)) == result,
497
if (
GetAutoSize
(element))
559
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);
867
CommonProperties.
GetAutoSize
(element)