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