1 write to Columns
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Layout\TableLayout.cs (1)
534
containerInfo.
Columns
= new Strip[numColumns];
30 references to Columns
System.Windows.Forms (30)
winforms\Managed\System\WinForms\Layout\TableLayout.cs (21)
208
CommonProperties.SetLayoutBounds(containerInfo.Container, new Size(SumStrips(containerInfo.
Columns
, 0, containerInfo.
Columns
.Length),
270
if (tempInfo.
Columns
!= null && containerInfo.
Columns
!= null && (tempInfo.
Columns
.Length != containerInfo.
Columns
.Length))
311
Strip[] cols = containerInfo.
Columns
;
533
if (containerInfo.
Columns
== null || containerInfo.
Columns
.Length != numColumns) {
646
InitializeStrips(containerInfo.
Columns
, containerInfo.ColumnStyles);
655
containerInfo.
Columns
[layoutInfo.ColumnStart].IsStart = true;
745
int colStop = Math.Min(layoutInfo.ColumnStart + layoutInfo.ColumnSpan, containerInfo.
Columns
.Length);
746
DistributeSize(containerInfo.ColumnStyles, containerInfo.
Columns
, layoutInfo.ColumnStart, colStop, minWidth, maxWidth, containerInfo.CellBorderWidth);
750
int width = DistributeStyles(containerInfo.CellBorderWidth, containerInfo.ColumnStyles, containerInfo.
Columns
, proposedConstraints.Width, dontHonorConstraint);
760
Strip[] strips = containerInfo.
Columns
;
836
int currentWidth = SumStrips(containerInfo.
Columns
, layoutInfo.ColumnStart, layoutInfo.ColumnSpan);
1188
startX -= containerInfo.
Columns
[currentCol].MinSize;
1191
startX += containerInfo.
Columns
[currentCol].MinSize;
1199
for(;currentCol < colStop && currentCol < containerInfo.
Columns
.Length; currentCol++) {
1200
width += containerInfo.
Columns
[currentCol].MinSize;
2068
Strip[] columns = containerInfo.
Columns
;
winforms\Managed\System\WinForms\TableLayoutPanel.cs (9)
325
if (containerInfo.
Columns
== null) {
329
int[] cw = new int[containerInfo.
Columns
.Length];
330
for(int i = 0; i < containerInfo.
Columns
.Length; i++) {
331
cw[i] = containerInfo.
Columns
[i].MinSize;
401
TableLayout.Strip[] colStrips = containerInfo.
Columns
;
518
int lastColumn = containerInfo.
Columns
.Length -1;
519
if (containerInfo.
Columns
.Length > 0) {
520
lastColumnHeight = containerInfo.
Columns
[containerInfo.
Columns
.Length -1].MinSize;