18 references to GetAutoSize
System.Windows.Forms (18)
winforms\Managed\System\WinForms\Control.cs (1)
951
get { return CommonProperties.
GetAutoSize
(this); }
winforms\Managed\System\WinForms\Layout\CommonProperties.cs (6)
176
Debug.Assert(value !=
GetAutoSize
(element), "PERF: Caller should guard against setting AutoSize to original value.");
186
Debug.Assert(
GetAutoSize
(element) == value, "Error detected setting AutoSize.");
393
&&
GetAutoSize
(element) == DefaultAutoSize) != result,
408
|| (
GetAutoSize
(element) != DefaultAutoSize && xGetDock(element) == DockStyle.None)) == result,
455
if (
GetAutoSize
(element)) {
510
Debug.Assert(result == (
GetAutoSize
(element) && xGetDock(element) == DockStyle.None),
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (6)
234
if (CommonProperties.
GetAutoSize
(container) && ((displayRectangle.Width == 0) || (displayRectangle.Height == 0))) {
364
else if(dockStyle == DockStyle.Fill && CommonProperties.
GetAutoSize
(element)) {
439
if (CommonProperties.
GetAutoSize
(element)) {
471
return CommonProperties.
GetAutoSize
(container);
530
return CommonProperties.
GetAutoSize
(container);
732
if (CommonProperties.
GetAutoSize
(container)) {
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (2)
45
return CommonProperties.
GetAutoSize
(container);
549
get { return CommonProperties.
GetAutoSize
(_element); }
winforms\Managed\System\WinForms\Layout\TableLayout.cs (2)
211
return CommonProperties.
GetAutoSize
(container);
858
if(CommonProperties.
GetAutoSize
(element)) {
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (1)
241
return CommonProperties.
GetAutoSize
(container);