39 references to ColumnSpan
PresentationFramework (39)
MS\Internal\LayoutDump.cs (1)
979writer.WriteAttributeString("ColumnSpan", cell.ColumnSpan.ToString(CultureInfo.InvariantCulture));
MS\Internal\PtsHost\CellParaClient.cs (4)
79&& (Cell.ColumnIndex + Cell.ColumnSpan) <= calculatedColumns.Length); 85int i = Cell.ColumnIndex + Cell.ColumnSpan - 1; 359&& (Cell.ColumnIndex + Cell.ColumnSpan) <= calculatedColumns.Length); 365int i = Cell.ColumnIndex + Cell.ColumnSpan - 1;
MS\Internal\PtsTable\RowSpanVector.cs (2)
85|| start >= _entries[i].Cell.ColumnIndex + _entries[i].Cell.ColumnSpan); 109_entries[_index].Range = cell.ColumnSpan;
System\Windows\Automation\Peers\TableAutomationPeer.cs (2)
149if (cell.ColumnIndex <= column && cell.ColumnIndex + cell.ColumnSpan > column) 157if (cell.ColumnIndex <= column && cell.ColumnIndex + cell.ColumnSpan > column)
System\Windows\Automation\Peers\TableCellAutomationPeer.cs (1)
138return ((TableCell)Owner).ColumnSpan;
System\Windows\Documents\TableRow.cs (1)
203int columnSpan = cell.ColumnSpan;
System\Windows\Documents\TextRangeEditTables.cs (27)
99lastColumnIndex = lastCell.ColumnIndex + lastCell.ColumnSpan - 1; 335int lastColumnIndex = Math.Max(anchorCell.ColumnIndex + anchorCell.ColumnSpan - 1, movingCell.ColumnIndex + movingCell.ColumnSpan - 1); 349if (firstColumnIndex <= cell.ColumnIndex && cell.ColumnIndex + cell.ColumnSpan - 1 <= lastColumnIndex) 1290double borderRight = cell.ColumnIndex + cell.ColumnSpan < columnCount ? 0.0 : border.Left; 1388if (cell.ColumnIndex + cell.ColumnSpan > colIndex) 1401if (cellInsertAfter.ColumnSpan == 1) 1407cellInsertAfter.ContentStart.TextContainer.SetValue(cellInsertAfter.ContentStart, TableCell.ColumnSpanProperty, cellInsertAfter.ColumnSpan + 1); 1458int colIndexInsert = endCell.ColumnIndex + endCell.ColumnSpan - 1; 1499if (cell.ColumnIndex + cell.ColumnSpan > colIndex) 1512if (cellDelete.ColumnSpan == 1) 1518cellDelete.ContentStart.TextContainer.SetValue(cellDelete.ContentStart, TableCell.ColumnSpanProperty, cellDelete.ColumnSpan - 1); 1632if (cell.ColumnIndex + cell.ColumnSpan <= cell.Table.ColumnCount && 1637columnIndex = cell.ColumnIndex + cell.ColumnSpan - 1; 1847Invariant.Assert(startCell.ColumnIndex <= endCell.ColumnIndex + endCell.ColumnSpan - 1, "startCell.ColumnIndex must be <= an index+span of an endCell"); 1854endCell.ColumnIndex + endCell.ColumnSpan - 1); // rightColumn 1898if (startCell.ColumnSpan == 1 && startCell.RowSpan == 1) 1908if (splitCountHorizontal > startCell.ColumnSpan - 1) 1910splitCountHorizontal = startCell.ColumnSpan - 1; 1924startCell.ContentStart.TextContainer.SetValue(startCell.ContentStart, TableCell.ColumnSpanProperty, startCell.ColumnSpan - 1); 1925if (startCell.ColumnSpan == 1) 2094movingCell.ColumnIndex > anchorCell.ColumnIndex + anchorCell.ColumnSpan - 1 && 2391int endColumn = startColumn + spannedCells[i].ColumnSpan - 1; 2522int endColumn = startColumn + cell.ColumnSpan -1; 2539(firstCell == null || firstCell.ColumnIndex >= leftColumn && firstCell.ColumnIndex + firstCell.ColumnSpan - 1 <= rightColumn) && // 2540(lastCell == null || lastCell.ColumnIndex >= leftColumn && lastCell.ColumnIndex + lastCell.ColumnSpan - 1 <= rightColumn); 2546return cell.ColumnIndex + cell.ColumnSpan == cell.Table.ColumnCount;
System\windows\Documents\TextSelection.cs (1)
2508endColumnIndex = startColumnIndex + cell.ColumnSpan - 1;