5 references to GetElementSize
System.Windows.Forms (5)
winforms\Managed\System\WinForms\Layout\TableLayout.cs (5)
731minWidth = GetElementSize(element, new Size(0, constrainingHeight)).Width; 735minWidth = GetElementSize(element, new Size(1, 0)).Width; 736maxWidth = GetElementSize(element, Size.Empty).Width; 846int minHeight = GetElementSize(element, new Size(currentWidth-margin.Horizontal, 0)).Height + margin.Vertical; 1234Rectangle elementBounds = LayoutUtils.AlignAndStretch(GetElementSize(element, cellBounds.Size), cellBounds, anchorStyles);