2 writes to Columns
System.Windows.Forms (2)
System\Windows\Forms\Layout\TableLayout.cs (2)
480containerInfo.Columns = new Strip[numColumns]; 1444containerInfo.Columns = cols!;
31 references to Columns
System.Windows.Forms (31)
System\Windows\Forms\Layout\TableLayout.cs (23)
119CommonProperties.SetLayoutBounds(containerInfo.Container, new Size(SumStrips(containerInfo.Columns, 0, containerInfo.Columns.Length), 180if (tempInfo.Columns is not null && containerInfo.Columns is not null && (tempInfo.Columns.Length != containerInfo.Columns.Length)) 225Strip[] cols = containerInfo.Columns; 478if (containerInfo.Columns is null || containerInfo.Columns.Length != numColumns) 622InitializeStrips(containerInfo.Columns, containerInfo.ColumnStyles); 632containerInfo.Columns[layoutInfo.ColumnStart].IsStart = true; 741int colStop = Math.Min(layoutInfo.ColumnStart + layoutInfo.ColumnSpan, containerInfo.Columns.Length); 742DistributeSize(containerInfo.ColumnStyles, containerInfo.Columns, layoutInfo.ColumnStart, colStop, minWidth, maxWidth, containerInfo.CellBorderWidth); 746int width = DistributeStyles(containerInfo.CellBorderWidth, containerInfo.ColumnStyles, containerInfo.Columns, proposedConstraints.Width, dontHonorConstraint); 757Strip[] strips = containerInfo.Columns; 845int currentWidth = SumStrips(containerInfo.Columns, layoutInfo.ColumnStart, layoutInfo.ColumnSpan); 1219startX -= containerInfo.Columns[currentCol].MinSize; 1223startX += containerInfo.Columns[currentCol].MinSize; 1231for (; currentCol < colStop && currentCol < containerInfo.Columns.Length; currentCol++) 1233width += containerInfo.Columns[currentCol].MinSize; 1424Strip[] cols = containerInfo.Columns; 1428Debug.Assert((containerInfo.Columns is null && cols is null) || containerInfo.Columns!.Length == cols.Length,
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (8)
266if (containerInfo.Columns is null) 271int[] cw = new int[containerInfo.Columns.Length]; 272for (int i = 0; i < containerInfo.Columns.Length; i++) 274cw[i] = containerInfo.Columns[i].MinSize; 338TableLayout.Strip[] colStrips = containerInfo.Columns; 515int lastColumn = containerInfo.Columns.Length - 1; 516if (containerInfo.Columns.Length > 0) 518lastColumnHeight = containerInfo.Columns[^1].MinSize;