69 references to Rows
PresentationFramework (69)
MS\Internal\PtsHost\RowParagraph.cs (3)
115bool isLastRowOfRowGroup = (Row.Index == Row.RowGroup.Rows.Count - 1); 256bool lastRow = Row.Index == Row.RowGroup.Rows.Count - 1; 332bool isLastRowOfRowGroup = (Row.Index == Row.RowGroup.Rows.Count - 1);
MS\Internal\PtsHost\TableParaClient.cs (2)
576if (row.Index == row.RowGroup.Rows.Count - 1) 1361(row.Index == row.RowGroup.Rows.Count - 1) && Table.IsLastNonEmptyRowGroup(row.RowGroup.Index);
MS\Internal\PtsHost\TableParagraph.cs (6)
278if(rowGroup.Rows.Count > 0) 280tableRow = rowGroup.Rows[0]; 330if (nextRowIndex < currentRowGroup.Rows.Count) 332Debug.Assert(currentRowGroup.Rows[nextRowIndex].Index != -1, 335tableRow = currentRowGroup.Rows[nextRowIndex]; 345TableRowCollection Rows = Table.RowGroups[nextRowGroupIndex].Rows;
System\Windows\Automation\Peers\TableAutomationPeer.cs (4)
98rows += group.Rows.Count; 138if (currentRow + group.Rows.Count < row) 140currentRow += group.Rows.Count; 144foreach (TableRow tableRow in group.Rows)
System\Windows\Documents\Table.cs (2)
316if(RowGroups[rowGroupIndex].Rows.Count > 0) 336if(RowGroups[rowGroupIndex].Rows.Count > 0)
System\Windows\Documents\TableRow.cs (2)
110((TableRowGroup)oldParent).Rows.InternalRemove(this); 117((TableRowGroup)newParent).Rows.InternalAdd(this);
System\Windows\Documents\TableRowGroup.cs (5)
91Rows.Add(row); 136return Rows.Count > 0; 224for (int i = 0; i < Rows.Count; ++i) 226Rows[i].ValidateStructure(rowSpanVector); 228_columnCount = Math.Max(_columnCount, Rows[i].ColumnCount);
System\windows\Documents\TextEditorTyping.cs (10)
1428int rowIndex = body.Rows.IndexOf(row); 1432if (rowIndex + 1 < body.Rows.Count) 1434cell = body.Rows[rowIndex + 1].Cells[0]; 1441cell = body.Rows[rowIndex - 1].Cells[body.Rows[rowIndex - 1].Cells.Count - 1]; 1465int rowIndex = body.Rows.IndexOf(row); 1473else if (rowIndex + 1 < body.Rows.Count) 1475cell = body.Rows[rowIndex + 1].Cells[0]; 1490cell = body.Rows[rowIndex - 1].Cells[body.Rows[rowIndex - 1].Cells.Count - 1];
System\Windows\Documents\TextRangeEditTables.cs (29)
342for (int rowIndex = firstRowIndex; rowIndex <= lastRowIndex && rowIndex < rowGroup.Rows.Count; rowIndex++) 344TableCellCollection cells = rowGroup.Rows[rowIndex].Cells; 468TableRowCollection rows = row.RowGroup.Rows; 675rowGroup.Rows.Add(row); 1006startRow = startRowGroup.Rows[0]; 1020endRow = endRowGroup.Rows[endRowGroup.Rows.Count - 1]; 1145int insertionIndex = rowGroup.Rows.IndexOf(currentRow); 1189rowGroup.Rows.Insert(insertionIndex, newRow); 1204CorrectBorders(rowGroup.Rows); 1232TableRowCollection rows = startRow.RowGroup.Rows; 1368for (int iRow = 0; iRow < rowGroup.Rows.Count; iRow++) 1370TableRow row = rowGroup.Rows[iRow]; 1413CorrectBorders(rowGroup.Rows); 1489for (int iRow = 0; iRow < rowGroup.Rows.Count; iRow++) 1491TableRow row = rowGroup.Rows[iRow]; 1523CorrectBorders(rowGroup.Rows); 1935CorrectBorders(rowGroup.Rows); 2366if (topRow >= rowGroup.Rows.Count || bottomRow >= rowGroup.Rows.Count) 2372if (rowGroup.Rows[topRow].ColumnCount != rowGroup.Rows[bottomRow].ColumnCount) 2378if (leftColumn >= rowGroup.Rows[topRow].ColumnCount || rightColumn >= rowGroup.Rows[bottomRow].ColumnCount) 2384TableCell[] spannedCells = rowGroup.Rows[topRow].SpannedCells; 2404if (!GetBoundaryCells(rowGroup.Rows[rowIndex], bottomRow, leftColumn, rightColumn, out firstCell, out lastCell)) 2428TableRow row = rowGroup.Rows[rowIndex]; 2488row.RowGroup.Rows.Remove(row); 2502CorrectBorders(rowGroup.Rows);
System\windows\Documents\TextSelection.cs (4)
1060if (nextRowIndex < rowGroup.Rows.Count) 1062nextCell = FindCellAtColumnIndex(rowGroup.Rows[nextRowIndex].Cells, movingCell.ColumnIndex); 1071nextCell = FindCellAtColumnIndex(rowGroup.Rows[nextRowIndex].Cells, movingCell.ColumnIndex); 1387TextPointer cellStart = table.RowGroups[0].Rows[0].Cells[0].ContentStart;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
5883bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Documents.TableRowGroup)target).Rows; };
System\Windows\Markup\KnownTypes.cs (1)
2532case KnownElements.TableRowGroup: return (o as System.Windows.Documents.TableRowGroup).Rows;