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; 723(IsAbsolutelySized(layoutInfo.RowStart, containerInfo.RowStyles))) 725int constrainingHeight = (int)containerInfo.RowStyles[layoutInfo.RowStart].Size; 843if (rowSpan > 1 || !IsAbsolutelySized(layoutInfo.RowStart, containerInfo.RowStyles)) 858int rowStop = Math.Min(layoutInfo.RowStart + layoutInfo.RowSpan, containerInfo.Rows.Length); 859DistributeSize(containerInfo.RowStyles, containerInfo.Rows, layoutInfo.RowStart, rowStop, minHeight, maxHeight, containerInfo.CellBorderWidth); 1201Debug.Assert(currentRow <= layoutInfo.RowStart, "RowStart should increase in forward Z-order."); 1202if (currentRow != layoutInfo.RowStart) 1204for (; currentRow < layoutInfo.RowStart; currentRow++) 1315layoutInfo.RowStart <= row && (layoutInfo.RowStart + layoutInfo.RowSpan - 1) >= row) 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); 1503Debug.Assert(containerInfo.RowStyles.Count >= layoutInfo1.RowStart + layoutInfo1.RowSpan, "length of row style too short"); 1504Debug.Assert(containerInfo.RowStyles.Count >= layoutInfo2.RowStart + layoutInfo2.RowSpan, "length of row style too short"); 1505for (k = layoutInfo1.RowStart; k < layoutInfo1.RowStart + layoutInfo1.RowSpan; k++) 1510for (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++)