8 writes to ColumnStart
System.Windows.Forms (8)
System\Windows\Forms\Layout\TableLayout.cs (7)
349
flowElement.
ColumnStart
= currentCol;
392
fixedElement.
ColumnStart
= Math.Min(fixedElement.ColumnPosition, maxColumns - 1);
396
fixedElement.
ColumnStart
= currentCol;
401
fixedElement.
ColumnStart
= Math.Max(fixedElement.ColumnStart, currentCol);
586
layoutInfo.
ColumnStart
= 0;
603
for (layoutInfo.
ColumnStart
= i + 1;
605
layoutInfo.
ColumnStart
++)
System\Windows\Forms\Layout\TableLayout.LayoutInfo.cs (1)
50
ColumnStart
= ColumnStart,
37 references to ColumnStart
System.Windows.Forms (37)
System\Windows\Forms\Layout\TableLayout.cs (28)
401
fixedElement.ColumnStart = Math.Max(fixedElement.
ColumnStart
, currentCol);
436
colStop = Math.Min(fixedElement.
ColumnStart
+ fixedElement.ColumnSpan, maxColumns);
579
colStop = layoutInfo.
ColumnStart
+ layoutInfo.ColumnSpan;
582
if (layoutInfo.
ColumnStart
!= 0)
597
for (int i = layoutInfo.
ColumnStart
; i < stopCol; i++)
604
layoutInfo.
ColumnStart
< maxColumns && reservationGrid.IsReserved(layoutInfo.
ColumnStart
, rowOffset);
632
containerInfo.Columns[layoutInfo.
ColumnStart
].IsStart = true;
716
if (columnSpan > 1 || !IsAbsolutelySized(layoutInfo.
ColumnStart
, containerInfo.ColumnStyles))
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);
845
int currentWidth = SumStrips(containerInfo.Columns, layoutInfo.
ColumnStart
, layoutInfo.ColumnSpan);
849
if (!dontHonorConstraint && layoutInfo.
ColumnStart
+ layoutInfo.ColumnSpan >= containerInfo.MaxColumns && !multiplePercent)
1214
Debug.Assert(currentCol <= layoutInfo.
ColumnStart
, "ColumnStart should increase in forward Z-order.");
1215
for (; currentCol < layoutInfo.
ColumnStart
; currentCol++)
1314
if (layoutInfo.
ColumnStart
<= column && (layoutInfo.
ColumnStart
+ layoutInfo.ColumnSpan - 1) >= column &&
1347
return new TableLayoutPanelCellPosition(layoutInfo.
ColumnStart
, layoutInfo.RowStart);
1436
$"Cached assignment info is invalid: LayoutInfo has changed. old layoutinfo: {oldLayoutInfo[layoutInfo.Element].RowStart} {oldLayoutInfo[layoutInfo.Element].
ColumnStart
} new layoutinfo: {layoutInfo.RowStart} {layoutInfo.
ColumnStart
} and the element is {layoutInfo.Element}");
1475
Rectangle cellsOccupied1 = new(layoutInfo1.
ColumnStart
, layoutInfo1.RowStart, layoutInfo1.ColumnSpan, layoutInfo1.RowSpan);
1480
Rectangle cellsOccupied2 = new(layoutInfo2.
ColumnStart
, layoutInfo2.RowStart, layoutInfo2.ColumnSpan, layoutInfo2.RowSpan);
1486
Debug.Assert(containerInfo.ColumnStyles.Count >= layoutInfo1.
ColumnStart
+ layoutInfo1.ColumnSpan, "length of column style too short");
1487
Debug.Assert(containerInfo.ColumnStyles.Count >= layoutInfo1.
ColumnStart
+ layoutInfo2.ColumnSpan, "length of column style too short");
1488
for (k = layoutInfo1.
ColumnStart
; k < layoutInfo1.
ColumnStart
+ layoutInfo1.ColumnSpan; k++)
1493
for (k = layoutInfo2.
ColumnStart
; k < layoutInfo2.
ColumnStart
+ layoutInfo2.ColumnSpan; k++)
System\Windows\Forms\Layout\TableLayout.LayoutInfo.cs (4)
50
ColumnStart =
ColumnStart
,
60
&& other.
ColumnStart
==
ColumnStart
70
hash.Add(
ColumnStart
);
System\Windows\Forms\Layout\TableLayout.PostAssignedPositionComparer.cs (4)
29
if (x.
ColumnStart
< y.
ColumnStart
)
34
if (x.
ColumnStart
> y.
ColumnStart
)
System\Windows\Forms\Layout\TableLayout.ReservationGrid.cs (1)
58
for (int reservedCol = layoutInfo.
ColumnStart
; reservedCol < colStop; reservedCol++)