2 writes to ColumnSpan
System.Windows.Forms (2)
System\Windows\Forms\Layout\TableLayout.LayoutInfo.cs (1)
52
ColumnSpan
= ColumnSpan,
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (1)
266
TableLayout.GetLayoutInfo(element).
ColumnSpan
= value;
27 references to ColumnSpan
System.Windows.Forms (27)
System\Windows\Forms\Layout\TableLayout.ColumnSpanComparer.cs (1)
10
public 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)
436
colStop = Math.Min(fixedElement.ColumnStart + fixedElement.
ColumnSpan
, maxColumns);
545
for (int colOffset = fixedLayoutInfo.ColumnPosition; colOffset < fixedLayoutInfo.ColumnPosition + fixedLayoutInfo.
ColumnSpan
; colOffset++)
579
colStop = layoutInfo.ColumnStart + layoutInfo.
ColumnSpan
;
591
colStop = Math.Min(layoutInfo.
ColumnSpan
, maxColumns);
634
if (layoutInfo.
ColumnSpan
> 1)
713
int columnSpan = layoutInfo.
ColumnSpan
;
739
int colStop = Math.Min(layoutInfo.ColumnStart + layoutInfo.
ColumnSpan
, containerInfo.Columns.Length);
843
int currentWidth = SumStrips(containerInfo.Columns, layoutInfo.ColumnStart, layoutInfo.
ColumnSpan
);
847
if (!dontHonorConstraint && layoutInfo.ColumnStart + layoutInfo.
ColumnSpan
>= containerInfo.MaxColumns && !multiplePercent)
1230
int colStop = currentCol + layoutInfo.
ColumnSpan
;
1315
if (layoutInfo.ColumnStart <= column && (layoutInfo.ColumnStart + layoutInfo.
ColumnSpan
- 1) >= column &&
1411
minSpace += layoutInfo.RowSpan * layoutInfo.
ColumnSpan
;
1414
minColumn = Math.Max(minColumn, layoutInfo.ColumnPosition + layoutInfo.
ColumnSpan
);
1476
Rectangle cellsOccupied1 = new(layoutInfo1.ColumnStart, layoutInfo1.RowStart, layoutInfo1.
ColumnSpan
, layoutInfo1.RowSpan);
1481
Rectangle cellsOccupied2 = new(layoutInfo2.ColumnStart, layoutInfo2.RowStart, layoutInfo2.
ColumnSpan
, layoutInfo2.RowSpan);
1487
Debug.Assert(containerInfo.ColumnStyles.Count >= layoutInfo1.ColumnStart + layoutInfo1.
ColumnSpan
, "length of column style too short");
1488
Debug.Assert(containerInfo.ColumnStyles.Count >= layoutInfo1.ColumnStart + layoutInfo2.
ColumnSpan
, "length of column style too short");
1489
for (k = layoutInfo1.ColumnStart; k < layoutInfo1.ColumnStart + layoutInfo1.
ColumnSpan
; k++)
1494
for (k = layoutInfo2.ColumnStart; k < layoutInfo2.ColumnStart + layoutInfo2.
ColumnSpan
; k++)
System\Windows\Forms\Layout\TableLayout.LayoutInfo.cs (4)
52
ColumnSpan =
ColumnSpan
,
62
&& other.
ColumnSpan
==
ColumnSpan
72
hash.Add(
ColumnSpan
);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (1)
245
return TableLayout.GetLayoutInfo(element).
ColumnSpan
;