2 writes to Columns
System.Windows.Forms (2)
System\Windows\Forms\Layout\TableLayout.cs (2)
480containerInfo.Columns = new Strip[numColumns]; 1445containerInfo.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; 739int colStop = Math.Min(layoutInfo.ColumnStart + layoutInfo.ColumnSpan, containerInfo.Columns.Length); 740DistributeSize(containerInfo.ColumnStyles, containerInfo.Columns, layoutInfo.ColumnStart, colStop, minWidth, maxWidth, containerInfo.CellBorderWidth); 744int width = DistributeStyles(containerInfo.CellBorderWidth, containerInfo.ColumnStyles, containerInfo.Columns, proposedConstraints.Width, dontHonorConstraint); 755Strip[] strips = containerInfo.Columns; 843int currentWidth = SumStrips(containerInfo.Columns, layoutInfo.ColumnStart, layoutInfo.ColumnSpan); 1220startX -= containerInfo.Columns[currentCol].MinSize; 1224startX += containerInfo.Columns[currentCol].MinSize; 1232for (; currentCol < colStop && currentCol < containerInfo.Columns.Length; currentCol++) 1234width += containerInfo.Columns[currentCol].MinSize; 1425Strip[] cols = containerInfo.Columns; 1429Debug.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;