1 write to Index
PresentationFramework (1)
src\Framework\System\Windows\Documents\TableRow.cs (1)
173set { this.Index = value; }
49 references to Index
PresentationFramework (49)
src\Framework\MS\Internal\PtsHost\RowParagraph.cs (8)
121bool isLastRowOfRowGroup = (Row.Index == Row.RowGroup.Rows.Count - 1); 151if (Row.Index == 0 && Table.IsFirstNonEmptyRowGroup(Row.RowGroup.Index)) 271bool lastRow = Row.Index == Row.RowGroup.Rows.Count - 1; 280if (cell.RowIndex == Row.Index) 286else if (Row.Index - cell.RowIndex + 1 < cell.RowSpan) 294Debug.Assert(Row.Index - cell.RowIndex + 1 == cell.RowSpan); 311if(Row.Index != 0 && Previous != null) 347bool isLastRowOfRowGroup = (Row.Index == Row.RowGroup.Rows.Count - 1);
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (4)
584if (row.Index == 0) 619if (row.Index == row.RowGroup.Rows.Count - 1) 1442(row.Index == 0) && Table.IsFirstNonEmptyRowGroup(row.RowGroup.Index); 1452(row.Index == row.RowGroup.Rows.Count - 1) && Table.IsLastNonEmptyRowGroup(row.RowGroup.Index);
src\Framework\MS\Internal\PtsHost\TableParagraph.cs (4)
285Invariant.Assert(tableRow.Index != -1); 331int nextRowIndex = currentRow.Index + 1; 336Debug.Assert(currentRowGroup.Rows[nextRowIndex].Index != -1, 353Debug.Assert(Rows[0].Index != -1,
src\Framework\System\Windows\Documents\TableCell.cs (1)
425return (Row.Index);
src\Framework\System\Windows\Documents\TableRow.cs (1)
172get { return this.Index; }
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (29)
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); 461anchorCell.Index == 0 && movingCell.Index == movingCell.Row.Cells.Count - 1 && movingCell.Row.Index + 1 == anchorCell.Row.Index)) 482int rowIndex = row.Index + 1; 509int rowIndex = row.Index - 1; 1236int deletedRowsCount = endRow.Index - startRow.Index + 1; 1246bool lastRowDeleted = endRow.Index == rows.Count - 1; 1251CorrectRowSpansOnDeleteRows(rows[endRow.Index + 1], deletedRowsCount); 1255rows.RemoveRange(startRow.Index, endRow.Index - startRow.Index + 1); 1308Invariant.Assert(nextRow.Index >= deletedRowsCount, "nextRow.Index is expected to be >= deletedRowsCount"); 1319int rowIndex = spannedCell.Row.Index; 1320if (rowIndex < nextRow.Index) 1322if (rowIndex < nextRow.Index - deletedRowsCount) 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)); 1848Invariant.Assert(startCell.Row.Index <= endCell.Row.Index, "startCell.Row.Index must be <= endCell.Row.Index"); 1853startCell.Row.Index, // topRow 1854endCell.Row.Index + endCell.RowSpan - 1, // bottomRow 2390if (spannedCells[i].Row.Index < topRow) 2528if (row.Index + cell.RowSpan - 1 > bottomRow)
src\Framework\System\windows\Documents\TextSelection.cs (2)
1062nextRowIndex = movingCell.Row.Index + movingCell.RowSpan; 1071nextRowIndex = movingCell.Row.Index - 1;