43 references to Row
PresentationFramework (43)
System\Windows\Documents\TableCell.cs (3)
373internal Table Table { get { return Row?.Table; } } 398return (Row.Index); 409return (Row.RowGroup.Index);
System\windows\Documents\TextEditorTyping.cs (1)
1439TableRow row = cell.Row;
System\Windows\Documents\TextRangeEditTables.cs (36)
329TableRowGroup rowGroup = anchorCell.Row.RowGroup; 332int firstRowIndex = Math.Min(anchorCell.Row.Index, movingCell.Row.Index); 333int lastRowIndex = Math.Max(anchorCell.Row.Index + anchorCell.RowSpan - 1, movingCell.Row.Index + movingCell.RowSpan - 1); 361Invariant.Assert(segmentStartCell.Row == segmentEndCell.Row, "Inconsistent Rows for segmentStartCell and segmentEndCell"); 446Invariant.Assert(anchorCell.Row.RowGroup == movingCell.Row.RowGroup, "anchorCell.Row.RowGroup == movingCell.Row.RowGroup"); 454(movingCell.Row == anchorCell.Row && movingCell.Index + 1 == anchorCell.Index || 455anchorCell.Index == 0 && movingCell.Index == movingCell.Row.Cells.Count - 1 && movingCell.Row.Index + 1 == anchorCell.Row.Index)) 463TableRow row = movingCell.Row; 596TableRow row = cell.Row; 999startRow = startCell.Row; 1013endRow = startCell.Row; 1317int rowIndex = spannedCell.Row.Index; 1335Invariant.Assert(spannedCell.RowSpan - (nextRow.Index - spannedCell.Row.Index) > 0, "expecting: spannedCell.RowSpan - (nextRow.Index - spannedCell.Row.Index) > 0"); 1336newCell.ContentStart.TextContainer.SetValue(newCell.ContentStart, TableCell.RowSpanProperty, spannedCell.RowSpan - (nextRow.Index - spannedCell.Row.Index)); 1845Invariant.Assert(startCell.Row.RowGroup == endCell.Row.RowGroup, "startCell and endCell must belong to the same RowGroup"); 1846Invariant.Assert(startCell.Row.Index <= endCell.Row.Index, "startCell.Row.Index must be <= endCell.Row.Index"); 1850TextRange result = MergeCellRange(startCell.Row.RowGroup, // 1851startCell.Row.Index, // topRow 1852endCell.Row.Index + endCell.RowSpan - 1, // bottomRow 1903TableRowGroup rowGroup = startCell.Row.RowGroup; 1906TableCellCollection cells = startCell.Row.Cells; 1923AddCellCopy(startCell.Row, startCell, startCellIndex + 1, /*copyRowSpan:*/true, /*copyColumnSpan:*/false); 1987Invariant.Assert(startCell.Row == endCell.Row, "startCell and endCell must be in the same Row"); 2099movingCell = movingCell.Row.Cells[movingCell.Index - 1]; 2388if (spannedCells[i].Row.Index < topRow) 2465if (firstCell.Index == 0 && lastCell.Index == lastCell.Row.Cells.Count - 1)
System\windows\Documents\TextSelection.cs (3)
1032rowGroup = movingCell.Row.RowGroup; 1040nextRowIndex = movingCell.Row.Index + movingCell.RowSpan; 1049nextRowIndex = movingCell.Row.Index - 1;