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