5 references to GetElementSize
System.Windows.Forms (5)
System\Windows\Forms\Layout\TableLayout.cs (5)
724minWidth = GetElementSize(element, new Size(0, constrainingHeight)).Width; 729minWidth = GetElementSize(element, new Size(1, 0)).Width; 730maxWidth = GetElementSize(element, Size.Empty).Width; 854int minHeight = GetElementSize(element, new Size(currentWidth - margin.Horizontal, 0)).Height + margin.Vertical; 1269Rectangle elementBounds = LayoutUtils.AlignAndStretch(GetElementSize(element, cellBounds.Size), cellBounds, anchorStyles);