2 writes to ColumnSpan
System.Windows.Forms (2)
System\Windows\Forms\Layout\TableLayout.LayoutInfo.cs (1)
52ColumnSpan = ColumnSpan,
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (1)
266TableLayout.GetLayoutInfo(element).ColumnSpan = value;
27 references to ColumnSpan
System.Windows.Forms (27)
System\Windows\Forms\Layout\TableLayout.ColumnSpanComparer.cs (1)
10public override int GetSpan(LayoutInfo layoutInfo) => layoutInfo.ColumnSpan;
System\Windows\Forms\Layout\TableLayout.ContainerInfo.cs (2)
258_minRowsAndColumns += layoutInfo.RowSpan * layoutInfo.ColumnSpan; 261_minColumns = Math.Max(_minColumns, layoutInfo.ColumnPosition + layoutInfo.ColumnSpan);
System\Windows\Forms\Layout\TableLayout.cs (19)
436colStop = Math.Min(fixedElement.ColumnStart + fixedElement.ColumnSpan, maxColumns); 545for (int colOffset = fixedLayoutInfo.ColumnPosition; colOffset < fixedLayoutInfo.ColumnPosition + fixedLayoutInfo.ColumnSpan; colOffset++) 579colStop = layoutInfo.ColumnStart + layoutInfo.ColumnSpan; 591colStop = Math.Min(layoutInfo.ColumnSpan, maxColumns); 634if (layoutInfo.ColumnSpan > 1) 713int columnSpan = layoutInfo.ColumnSpan; 741int colStop = Math.Min(layoutInfo.ColumnStart + layoutInfo.ColumnSpan, containerInfo.Columns.Length); 845int currentWidth = SumStrips(containerInfo.Columns, layoutInfo.ColumnStart, layoutInfo.ColumnSpan); 849if (!dontHonorConstraint && layoutInfo.ColumnStart + layoutInfo.ColumnSpan >= containerInfo.MaxColumns && !multiplePercent) 1229int colStop = currentCol + layoutInfo.ColumnSpan; 1314if (layoutInfo.ColumnStart <= column && (layoutInfo.ColumnStart + layoutInfo.ColumnSpan - 1) >= column && 1410minSpace += layoutInfo.RowSpan * layoutInfo.ColumnSpan; 1413minColumn = Math.Max(minColumn, layoutInfo.ColumnPosition + layoutInfo.ColumnSpan); 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)
52ColumnSpan = ColumnSpan, 62&& other.ColumnSpan == ColumnSpan 72hash.Add(ColumnSpan);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (1)
245return TableLayout.GetLayoutInfo(element).ColumnSpan;