39 references to ColumnSpan
PresentationFramework (39)
MS\Internal\LayoutDump.cs (1)
981
writer.WriteAttributeString("ColumnSpan", cell.
ColumnSpan
.ToString(CultureInfo.InvariantCulture));
MS\Internal\PtsHost\CellParaClient.cs (4)
85
&& (Cell.ColumnIndex + Cell.
ColumnSpan
) <= calculatedColumns.Length);
91
int i = Cell.ColumnIndex + Cell.
ColumnSpan
- 1;
365
&& (Cell.ColumnIndex + Cell.
ColumnSpan
) <= calculatedColumns.Length);
371
int i = Cell.ColumnIndex + Cell.
ColumnSpan
- 1;
MS\Internal\PtsTable\RowSpanVector.cs (2)
88
|| start >= _entries[i].Cell.ColumnIndex + _entries[i].Cell.
ColumnSpan
);
112
_entries[_index].Range = cell.
ColumnSpan
;
System\Windows\Automation\Peers\TableAutomationPeer.cs (2)
150
if (cell.ColumnIndex <= column && cell.ColumnIndex + cell.
ColumnSpan
> column)
158
if (cell.ColumnIndex <= column && cell.ColumnIndex + cell.
ColumnSpan
> column)
System\Windows\Automation\Peers\TableCellAutomationPeer.cs (1)
139
return ((TableCell)Owner).
ColumnSpan
;
System\Windows\Documents\TableRow.cs (1)
222
int columnSpan = cell.
ColumnSpan
;
System\Windows\Documents\TextRangeEditTables.cs (27)
102
lastColumnIndex = lastCell.ColumnIndex + lastCell.
ColumnSpan
- 1;
338
int lastColumnIndex = Math.Max(anchorCell.ColumnIndex + anchorCell.
ColumnSpan
- 1, movingCell.ColumnIndex + movingCell.
ColumnSpan
- 1);
352
if (firstColumnIndex <= cell.ColumnIndex && cell.ColumnIndex + cell.
ColumnSpan
- 1 <= lastColumnIndex)
1289
double borderRight = cell.ColumnIndex + cell.
ColumnSpan
< columnCount ? 0.0 : border.Left;
1387
if (cell.ColumnIndex + cell.
ColumnSpan
> colIndex)
1400
if (cellInsertAfter.
ColumnSpan
== 1)
1406
cellInsertAfter.ContentStart.TextContainer.SetValue(cellInsertAfter.ContentStart, TableCell.ColumnSpanProperty, cellInsertAfter.
ColumnSpan
+ 1);
1457
int colIndexInsert = endCell.ColumnIndex + endCell.
ColumnSpan
- 1;
1498
if (cell.ColumnIndex + cell.
ColumnSpan
> colIndex)
1511
if (cellDelete.
ColumnSpan
== 1)
1517
cellDelete.ContentStart.TextContainer.SetValue(cellDelete.ContentStart, TableCell.ColumnSpanProperty, cellDelete.
ColumnSpan
- 1);
1631
if (cell.ColumnIndex + cell.
ColumnSpan
<= cell.Table.ColumnCount &&
1636
columnIndex = cell.ColumnIndex + cell.
ColumnSpan
- 1;
1846
Invariant.Assert(startCell.ColumnIndex <= endCell.ColumnIndex + endCell.
ColumnSpan
- 1, "startCell.ColumnIndex must be <= an index+span of an endCell");
1853
endCell.ColumnIndex + endCell.
ColumnSpan
- 1); // rightColumn
1897
if (startCell.
ColumnSpan
== 1 && startCell.RowSpan == 1)
1907
if (splitCountHorizontal > startCell.
ColumnSpan
- 1)
1909
splitCountHorizontal = startCell.
ColumnSpan
- 1;
1923
startCell.ContentStart.TextContainer.SetValue(startCell.ContentStart, TableCell.ColumnSpanProperty, startCell.
ColumnSpan
- 1);
1924
if (startCell.
ColumnSpan
== 1)
2093
movingCell.ColumnIndex > anchorCell.ColumnIndex + anchorCell.
ColumnSpan
- 1 &&
2390
int endColumn = startColumn + spannedCells[i].
ColumnSpan
- 1;
2521
int endColumn = startColumn + cell.
ColumnSpan
-1;
2538
(firstCell == null || firstCell.ColumnIndex >= leftColumn && firstCell.ColumnIndex + firstCell.
ColumnSpan
- 1 <= rightColumn) && //
2539
(lastCell == null || lastCell.ColumnIndex >= leftColumn && lastCell.ColumnIndex + lastCell.
ColumnSpan
- 1 <= rightColumn);
2545
return cell.ColumnIndex + cell.
ColumnSpan
== cell.Table.ColumnCount;
System\windows\Documents\TextSelection.cs (1)
2525
endColumnIndex = startColumnIndex + cell.
ColumnSpan
- 1;