43 references to Row
PresentationFramework (43)
System\Windows\Documents\TableCell.cs (3)
374internal Table Table { get { return Row?.Table; } } 399return (Row.Index); 410return (Row.RowGroup.Index);
System\windows\Documents\TextEditorTyping.cs (1)
1440TableRow row = cell.Row;
System\Windows\Documents\TextRangeEditTables.cs (36)
330TableRowGroup rowGroup = anchorCell.Row.RowGroup; 333int firstRowIndex = Math.Min(anchorCell.Row.Index, movingCell.Row.Index); 334int lastRowIndex = Math.Max(anchorCell.Row.Index + anchorCell.RowSpan - 1, movingCell.Row.Index + movingCell.RowSpan - 1); 362Invariant.Assert(segmentStartCell.Row == segmentEndCell.Row, "Inconsistent Rows for segmentStartCell and segmentEndCell"); 447Invariant.Assert(anchorCell.Row.RowGroup == movingCell.Row.RowGroup, "anchorCell.Row.RowGroup == movingCell.Row.RowGroup"); 455(movingCell.Row == anchorCell.Row && movingCell.Index + 1 == anchorCell.Index || 456anchorCell.Index == 0 && movingCell.Index == movingCell.Row.Cells.Count - 1 && movingCell.Row.Index + 1 == anchorCell.Row.Index)) 464TableRow row = movingCell.Row; 597TableRow row = cell.Row; 1000startRow = startCell.Row; 1014endRow = startCell.Row; 1318int rowIndex = spannedCell.Row.Index; 1336Invariant.Assert(spannedCell.RowSpan - (nextRow.Index - spannedCell.Row.Index) > 0, "expecting: spannedCell.RowSpan - (nextRow.Index - spannedCell.Row.Index) > 0"); 1337newCell.ContentStart.TextContainer.SetValue(newCell.ContentStart, TableCell.RowSpanProperty, spannedCell.RowSpan - (nextRow.Index - spannedCell.Row.Index)); 1846Invariant.Assert(startCell.Row.RowGroup == endCell.Row.RowGroup, "startCell and endCell must belong to the same RowGroup"); 1847Invariant.Assert(startCell.Row.Index <= endCell.Row.Index, "startCell.Row.Index must be <= endCell.Row.Index"); 1851TextRange result = MergeCellRange(startCell.Row.RowGroup, // 1852startCell.Row.Index, // topRow 1853endCell.Row.Index + endCell.RowSpan - 1, // bottomRow 1904TableRowGroup rowGroup = startCell.Row.RowGroup; 1907TableCellCollection cells = startCell.Row.Cells; 1924AddCellCopy(startCell.Row, startCell, startCellIndex + 1, /*copyRowSpan:*/true, /*copyColumnSpan:*/false); 1988Invariant.Assert(startCell.Row == endCell.Row, "startCell and endCell must be in the same Row"); 2100movingCell = movingCell.Row.Cells[movingCell.Index - 1]; 2389if (spannedCells[i].Row.Index < topRow) 2466if (firstCell.Index == 0 && lastCell.Index == lastCell.Row.Cells.Count - 1)
System\windows\Documents\TextSelection.cs (3)
1033rowGroup = movingCell.Row.RowGroup; 1041nextRowIndex = movingCell.Row.Index + movingCell.RowSpan; 1050nextRowIndex = movingCell.Row.Index - 1;