System\Windows\Forms\Layout\TableLayout.cs (5)
726minWidth = GetElementSize(element, new Size(0, constrainingHeight)).Width;
731minWidth = GetElementSize(element, new Size(1, 0)).Width;
732maxWidth = GetElementSize(element, Size.Empty).Width;
856int minHeight = GetElementSize(element, new Size(currentWidth - margin.Horizontal, 0)).Height + margin.Vertical;
1268Rectangle elementBounds = LayoutUtils.AlignAndStretch(GetElementSize(element, cellBounds.Size), cellBounds, anchorStyles);