44 references to Row
PresentationFramework (44)
src\Framework\System\Windows\Documents\TableCell.cs (4)
400internal Table Table { get { return Row != null ? Row.Table : null; } } 425return (Row.Index); 436return (Row.RowGroup.Index);
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
1478TableRow row = cell.Row;
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (36)
335TableRowGroup rowGroup = anchorCell.Row.RowGroup; 338int firstRowIndex = Math.Min(anchorCell.Row.Index, movingCell.Row.Index); 339int lastRowIndex = Math.Max(anchorCell.Row.Index + anchorCell.RowSpan - 1, movingCell.Row.Index + movingCell.RowSpan - 1); 367Invariant.Assert(segmentStartCell.Row == segmentEndCell.Row, "Inconsistent Rows for segmentStartCell and segmentEndCell"); 452Invariant.Assert(anchorCell.Row.RowGroup == movingCell.Row.RowGroup, "anchorCell.Row.RowGroup == movingCell.Row.RowGroup"); 460(movingCell.Row == anchorCell.Row && movingCell.Index + 1 == anchorCell.Index || 461anchorCell.Index == 0 && movingCell.Index == movingCell.Row.Cells.Count - 1 && movingCell.Row.Index + 1 == anchorCell.Row.Index)) 469TableRow row = movingCell.Row; 602TableRow row = cell.Row; 1001startRow = startCell.Row; 1015endRow = startCell.Row; 1319int rowIndex = spannedCell.Row.Index; 1337Invariant.Assert(spannedCell.RowSpan - (nextRow.Index - spannedCell.Row.Index) > 0, "expecting: spannedCell.RowSpan - (nextRow.Index - spannedCell.Row.Index) > 0"); 1338newCell.ContentStart.TextContainer.SetValue(newCell.ContentStart, TableCell.RowSpanProperty, spannedCell.RowSpan - (nextRow.Index - spannedCell.Row.Index)); 1847Invariant.Assert(startCell.Row.RowGroup == endCell.Row.RowGroup, "startCell and endCell must belong to the same RowGroup"); 1848Invariant.Assert(startCell.Row.Index <= endCell.Row.Index, "startCell.Row.Index must be <= endCell.Row.Index"); 1852TextRange result = MergeCellRange(startCell.Row.RowGroup, // 1853startCell.Row.Index, // topRow 1854endCell.Row.Index + endCell.RowSpan - 1, // bottomRow 1905TableRowGroup rowGroup = startCell.Row.RowGroup; 1908TableCellCollection cells = startCell.Row.Cells; 1925AddCellCopy(startCell.Row, startCell, startCellIndex + 1, /*copyRowSpan:*/true, /*copyColumnSpan:*/false); 1989Invariant.Assert(startCell.Row == endCell.Row, "startCell and endCell must be in the same Row"); 2101movingCell = movingCell.Row.Cells[movingCell.Index - 1]; 2390if (spannedCells[i].Row.Index < topRow) 2467if (firstCell.Index == 0 && lastCell.Index == lastCell.Row.Cells.Count - 1)
src\Framework\System\windows\Documents\TextSelection.cs (3)
1054rowGroup = movingCell.Row.RowGroup; 1062nextRowIndex = movingCell.Row.Index + movingCell.RowSpan; 1071nextRowIndex = movingCell.Row.Index - 1;