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