1 write to Index
PresentationFramework (1)
System\Windows\Documents\TableRow.cs (1)
164set { this.Index = value; }
49 references to Index
PresentationFramework (49)
MS\Internal\PtsHost\RowParagraph.cs (8)
115bool isLastRowOfRowGroup = (Row.Index == Row.RowGroup.Rows.Count - 1); 145if (Row.Index == 0 && Table.IsFirstNonEmptyRowGroup(Row.RowGroup.Index)) 256bool lastRow = Row.Index == Row.RowGroup.Rows.Count - 1; 265if (cell.RowIndex == Row.Index) 271else if (Row.Index - cell.RowIndex + 1 < cell.RowSpan) 279Debug.Assert(Row.Index - cell.RowIndex + 1 == cell.RowSpan); 296if(Row.Index != 0 && Previous != null) 332bool isLastRowOfRowGroup = (Row.Index == Row.RowGroup.Rows.Count - 1);
MS\Internal\PtsHost\TableParaClient.cs (4)
541if (row.Index == 0) 576if (row.Index == row.RowGroup.Rows.Count - 1) 1351(row.Index == 0) && Table.IsFirstNonEmptyRowGroup(row.RowGroup.Index); 1361(row.Index == row.RowGroup.Rows.Count - 1) && Table.IsLastNonEmptyRowGroup(row.RowGroup.Index);
MS\Internal\PtsHost\TableParagraph.cs (4)
281Invariant.Assert(tableRow.Index != -1); 327int nextRowIndex = currentRow.Index + 1; 332Debug.Assert(currentRowGroup.Rows[nextRowIndex].Index != -1, 349Debug.Assert(Rows[0].Index != -1,
System\Windows\Documents\TableCell.cs (1)
418return (Row.Index);
System\Windows\Documents\TableRow.cs (1)
163get { return this.Index; }
System\Windows\Documents\TextRangeEditTables.cs (29)
335int firstRowIndex = Math.Min(anchorCell.Row.Index, movingCell.Row.Index); 336int lastRowIndex = Math.Max(anchorCell.Row.Index + anchorCell.RowSpan - 1, movingCell.Row.Index + movingCell.RowSpan - 1); 458anchorCell.Index == 0 && movingCell.Index == movingCell.Row.Cells.Count - 1 && movingCell.Row.Index + 1 == anchorCell.Row.Index)) 479int rowIndex = row.Index + 1; 506int rowIndex = row.Index - 1; 1233int deletedRowsCount = endRow.Index - startRow.Index + 1; 1243bool lastRowDeleted = endRow.Index == rows.Count - 1; 1248CorrectRowSpansOnDeleteRows(rows[endRow.Index + 1], deletedRowsCount); 1252rows.RemoveRange(startRow.Index, endRow.Index - startRow.Index + 1); 1305Invariant.Assert(nextRow.Index >= deletedRowsCount, "nextRow.Index is expected to be >= deletedRowsCount"); 1316int rowIndex = spannedCell.Row.Index; 1317if (rowIndex < nextRow.Index) 1319if (rowIndex < nextRow.Index - deletedRowsCount) 1334Invariant.Assert(spannedCell.RowSpan - (nextRow.Index - spannedCell.Row.Index) > 0, "expecting: spannedCell.RowSpan - (nextRow.Index - spannedCell.Row.Index) > 0"); 1335newCell.ContentStart.TextContainer.SetValue(newCell.ContentStart, TableCell.RowSpanProperty, spannedCell.RowSpan - (nextRow.Index - spannedCell.Row.Index)); 1845Invariant.Assert(startCell.Row.Index <= endCell.Row.Index, "startCell.Row.Index must be <= endCell.Row.Index"); 1850startCell.Row.Index, // topRow 1851endCell.Row.Index + endCell.RowSpan - 1, // bottomRow 2387if (spannedCells[i].Row.Index < topRow) 2525if (row.Index + cell.RowSpan - 1 > bottomRow)
System\windows\Documents\TextSelection.cs (2)
1059nextRowIndex = movingCell.Row.Index + movingCell.RowSpan; 1068nextRowIndex = movingCell.Row.Index - 1;