9 writes to MinSize
System.Windows.Forms (9)
winforms\Managed\System\WinForms\Layout\TableLayout.cs (9)
313cols[cols.Length - 1].MinSize += totalSpace.Width - usedSpace.Width; 316rows[rows.Length - 1].MinSize += totalSpace.Height - usedSpace.Height; 677strip.MinSize = (int)Math.Round((double)((TableLayoutStyle)styles[i]).Size); 681strip.MinSize = 0; 787strips[i].MinSize -= (int) (percentageOfTotal * stealAmount); 1027strip.MinSize += cellBorderWidth; //add the padding for the cell border 1080strip.MinSize = stripSize + cellBorderWidth; 1139strip.MinSize += delta; 1811set { strip.MinSize = value; }
29 references to MinSize
System.Windows.Forms (29)
winforms\Managed\System\WinForms\Layout\TableLayout.cs (18)
678strip.MaxSize = strip.MinSize; 771totalPercentAllocatedSpace += strip.MinSize; 869size += strip.MinSize; 1008totalAbsoluteAndAutoSizeAllocatedSpace += strip.MinSize; 1010Debug.Assert((strip.MinSize == style.Size), "absolutely sized strip's size should be set before we call ApplyStyles"); 1014totalPercentAllocatedSpace += strip.MinSize; 1017totalAbsoluteAndAutoSizeAllocatedSpace += strip.MinSize; 1030usedSpace += strip.MinSize; 1078usedSpace -= strip.MinSize; // back out the size we thought we were allocating before. 1106int totalWidth = (int)Math.Round(((strip.MinSize * totalPercent)/ style.Size)); 1108usedSpace -= strip.MinSize; 1135int delta = Math.Min(strip.MaxSize - strip.MinSize, remainingSpace); 1178top += containerInfo.Rows[currentRow].MinSize; 1188startX -= containerInfo.Columns[currentCol].MinSize; 1191startX += containerInfo.Columns[currentCol].MinSize; 1200width += containerInfo.Columns[currentCol].MinSize; 1212height += containerInfo.Rows[rowIndex].MinSize; 1810get { return strip.MinSize; }
winforms\Managed\System\WinForms\TableLayoutPanel.cs (11)
331cw[i] = containerInfo.Columns[i].MinSize; 349rh[i] = containerInfo.Rows[i].MinSize; 433startx -= colStrips[i].MinSize; 437Rectangle outsideCellBounds = new Rectangle(startx, starty, ((TableLayout.Strip)colStrips[i]).MinSize, ((TableLayout.Strip)rowStrips[j]).MinSize); 449starty += rowStrips[j].MinSize; 452totalColumnHeights += rowStrips[j].MinSize; 457startx += colStrips[i].MinSize; 459totalColumnWidths += colStrips[i].MinSize; 514lastRowHeight = containerInfo.Rows[lastRow].MinSize; 520lastColumnHeight = containerInfo.Columns[containerInfo.Columns.Length -1].MinSize;