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