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