38 references to ColumnSpan
PresentationFramework (38)
src\Framework\MS\Internal\LayoutDump.cs (1)
984
writer.WriteAttributeString("ColumnSpan", cell.
ColumnSpan
.ToString(CultureInfo.InvariantCulture));
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (4)
97
&& (Cell.ColumnIndex + Cell.
ColumnSpan
) <= calculatedColumns.Length);
103
int i = Cell.ColumnIndex + Cell.
ColumnSpan
- 1;
392
&& (Cell.ColumnIndex + Cell.
ColumnSpan
) <= calculatedColumns.Length);
398
int i = Cell.ColumnIndex + Cell.
ColumnSpan
- 1;
src\Framework\MS\Internal\PtsTable\RowSpanVector.cs (1)
116
_entries[_index].Range = cell.
ColumnSpan
;
src\Framework\System\Windows\Automation\Peers\TableAutomationPeer.cs (2)
155
if (cell.ColumnIndex <= column && cell.ColumnIndex + cell.
ColumnSpan
> column)
163
if (cell.ColumnIndex <= column && cell.ColumnIndex + cell.
ColumnSpan
> column)
src\Framework\System\Windows\Automation\Peers\TableCellAutomationPeer.cs (1)
141
return ((TableCell)Owner).
ColumnSpan
;
src\Framework\System\Windows\Documents\TableRow.cs (1)
231
int columnSpan = cell.
ColumnSpan
;
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (27)
105
lastColumnIndex = lastCell.ColumnIndex + lastCell.
ColumnSpan
- 1;
341
int lastColumnIndex = Math.Max(anchorCell.ColumnIndex + anchorCell.
ColumnSpan
- 1, movingCell.ColumnIndex + movingCell.
ColumnSpan
- 1);
355
if (firstColumnIndex <= cell.ColumnIndex && cell.ColumnIndex + cell.
ColumnSpan
- 1 <= lastColumnIndex)
1292
double borderRight = cell.ColumnIndex + cell.
ColumnSpan
< columnCount ? 0.0 : border.Left;
1390
if (cell.ColumnIndex + cell.
ColumnSpan
> colIndex)
1403
if (cellInsertAfter.
ColumnSpan
== 1)
1409
cellInsertAfter.ContentStart.TextContainer.SetValue(cellInsertAfter.ContentStart, TableCell.ColumnSpanProperty, cellInsertAfter.
ColumnSpan
+ 1);
1460
int colIndexInsert = endCell.ColumnIndex + endCell.
ColumnSpan
- 1;
1501
if (cell.ColumnIndex + cell.
ColumnSpan
> colIndex)
1514
if (cellDelete.
ColumnSpan
== 1)
1520
cellDelete.ContentStart.TextContainer.SetValue(cellDelete.ContentStart, TableCell.ColumnSpanProperty, cellDelete.
ColumnSpan
- 1);
1634
if (cell.ColumnIndex + cell.
ColumnSpan
<= cell.Table.ColumnCount &&
1639
columnIndex = cell.ColumnIndex + cell.
ColumnSpan
- 1;
1849
Invariant.Assert(startCell.ColumnIndex <= endCell.ColumnIndex + endCell.
ColumnSpan
- 1, "startCell.ColumnIndex must be <= an index+span of an endCell");
1856
endCell.ColumnIndex + endCell.
ColumnSpan
- 1); // rightColumn
1900
if (startCell.
ColumnSpan
== 1 && startCell.RowSpan == 1)
1910
if (splitCountHorizontal > startCell.
ColumnSpan
- 1)
1912
splitCountHorizontal = startCell.
ColumnSpan
- 1;
1926
startCell.ContentStart.TextContainer.SetValue(startCell.ContentStart, TableCell.ColumnSpanProperty, startCell.
ColumnSpan
- 1);
1927
if (startCell.
ColumnSpan
== 1)
2096
movingCell.ColumnIndex > anchorCell.ColumnIndex + anchorCell.
ColumnSpan
- 1 &&
2393
int endColumn = startColumn + spannedCells[i].
ColumnSpan
- 1;
2524
int endColumn = startColumn + cell.
ColumnSpan
-1;
2541
(firstCell == null || firstCell.ColumnIndex >= leftColumn && firstCell.ColumnIndex + firstCell.
ColumnSpan
- 1 <= rightColumn) && //
2542
(lastCell == null || lastCell.ColumnIndex >= leftColumn && lastCell.ColumnIndex + lastCell.
ColumnSpan
- 1 <= rightColumn);
2548
return cell.ColumnIndex + cell.
ColumnSpan
== cell.Table.ColumnCount;
src\Framework\System\windows\Documents\TextSelection.cs (1)
2538
endColumnIndex = startColumnIndex + cell.
ColumnSpan
- 1;