5 writes to RowStart
System.Windows.Forms (5)
System\Windows\Forms\Layout\TableLayout.cs (4)
348flowElement.RowStart = currentRow; 391fixedElement!.RowStart = Math.Min(fixedElement.RowPosition, maxRows - 1); 408fixedElement.RowStart = Math.Max(fixedElement.RowStart, currentRow); 587layoutInfo.RowStart++;
System\Windows\Forms\Layout\TableLayout.LayoutInfo.cs (1)
49RowStart = RowStart,
45 references to RowStart
System.Windows.Forms (45)
System\Windows\Forms\Layout\TableLayout.cs (36)
353if (flowElement.RowStart >= maxRows) 360if (flowElement is not null && (fixedElement is null || (!IsCursorPastInsertionPoint(fixedElement, flowElement.RowStart, colStop) && !IsOverlappingWithReservationGrid(fixedElement, reservationGrid, currentRow)))) 365for (int j = 0; j < flowElement.RowStart - currentRow; j++) 370currentRow = flowElement.RowStart; 393if (currentRow > fixedElement.RowStart) 398else if (currentRow == fixedElement.RowStart) 408fixedElement.RowStart = Math.Max(fixedElement.RowStart, currentRow); 412for (j = 0; j < fixedElement.RowStart - currentRow; j++) 422if (fixedElement.RowStart >= maxRows) 427for (; j < fixedElement.RowStart - currentRow; j++) 433currentRow = fixedElement.RowStart; 437rowStop = Math.Min(fixedElement.RowStart + fixedElement.RowSpan, maxRows); 565int prevRow = layoutInfo.RowStart; 570while (ScanRowForOverlap(maxColumns, reservationGrid, layoutInfo, colStop, layoutInfo.RowStart - prevRow)); 633containerInfo.Rows[layoutInfo.RowStart].IsStart = true; 721(IsAbsolutelySized(layoutInfo.RowStart, containerInfo.RowStyles))) 723int constrainingHeight = (int)containerInfo.RowStyles[layoutInfo.RowStart].Size; 841if (rowSpan > 1 || !IsAbsolutelySized(layoutInfo.RowStart, containerInfo.RowStyles)) 856int rowStop = Math.Min(layoutInfo.RowStart + layoutInfo.RowSpan, containerInfo.Rows.Length); 857DistributeSize(containerInfo.RowStyles, containerInfo.Rows, layoutInfo.RowStart, rowStop, minHeight, maxHeight, containerInfo.CellBorderWidth); 1202Debug.Assert(currentRow <= layoutInfo.RowStart, "RowStart should increase in forward Z-order."); 1203if (currentRow != layoutInfo.RowStart) 1205for (; currentRow < layoutInfo.RowStart; currentRow++) 1316layoutInfo.RowStart <= row && (layoutInfo.RowStart + layoutInfo.RowSpan - 1) >= row) 1348return new TableLayoutPanelCellPosition(layoutInfo.ColumnStart, layoutInfo.RowStart); 1437$"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}"); 1476Rectangle cellsOccupied1 = new(layoutInfo1.ColumnStart, layoutInfo1.RowStart, layoutInfo1.ColumnSpan, layoutInfo1.RowSpan); 1481Rectangle cellsOccupied2 = new(layoutInfo2.ColumnStart, layoutInfo2.RowStart, layoutInfo2.ColumnSpan, layoutInfo2.RowSpan); 1504Debug.Assert(containerInfo.RowStyles.Count >= layoutInfo1.RowStart + layoutInfo1.RowSpan, "length of row style too short"); 1505Debug.Assert(containerInfo.RowStyles.Count >= layoutInfo2.RowStart + layoutInfo2.RowSpan, "length of row style too short"); 1506for (k = layoutInfo1.RowStart; k < layoutInfo1.RowStart + layoutInfo1.RowSpan; k++) 1511for (k = layoutInfo2.RowStart; k < layoutInfo2.RowStart + layoutInfo2.RowSpan; k++)
System\Windows\Forms\Layout\TableLayout.LayoutInfo.cs (4)
49RowStart = RowStart, 59&& other.RowStart == RowStart 69hash.Add(RowStart);
System\Windows\Forms\Layout\TableLayout.PostAssignedPositionComparer.cs (4)
19if (x.RowStart < y.RowStart) 24if (x.RowStart > y.RowStart)
System\Windows\Forms\Layout\TableLayout.ReservationGrid.cs (1)
56for (int rowOffset = 1; rowOffset < rowStop - layoutInfo.RowStart; rowOffset++)