58 references to Cells
PresentationFramework (58)
MS\Internal\PtsHost\RowParagraph.cs (6)
232Invariant.Assert(cCells >= Row.Cells.Count); // Protect against buffer overflow 238for (int j = 0; j < Row.Cells.Count; ++j) 240TableCell cell = Row.Cells[j]; 303_cellParagraphs = new CellParagraph[Row.Cells.Count]; 305for(int cellIndex = 0; cellIndex < Row.Cells.Count; cellIndex++) 307_cellParagraphs[cellIndex] = new CellParagraph(Row.Cells[cellIndex], StructuralCache);
System\Windows\Automation\Peers\TableAutomationPeer.cs (1)
148foreach (TableCell cell in tableRow.Cells)
System\Windows\Documents\TableCell.cs (3)
107((TableRow)oldParent).Cells.InternalRemove(this); 112if ((newParentTR != null) && (newParentTR.Cells != null)) // keep PreSharp happy 114newParentTR.Cells.InternalAdd(this);
System\Windows\Documents\TableRow.cs (2)
77Cells.Add(cell); 302return (Cells.Count > 0);
System\windows\Documents\TextEditorTyping.cs (10)
1434cell = body.Rows[rowIndex + 1].Cells[0]; 1441cell = body.Rows[rowIndex - 1].Cells[body.Rows[rowIndex - 1].Cells.Count - 1]; 1464int cellIndex = row.Cells.IndexOf(cell); 1469if (cellIndex + 1 < row.Cells.Count) 1471cell = row.Cells[cellIndex + 1]; 1475cell = body.Rows[rowIndex + 1].Cells[0]; 1486cell = row.Cells[cellIndex - 1]; 1490cell = body.Rows[rowIndex - 1].Cells[body.Rows[rowIndex - 1].Cells.Count - 1];
System\Windows\Documents\TextRangeEditTables.cs (31)
344TableCellCollection cells = rowGroup.Rows[rowIndex].Cells; 458anchorCell.Index == 0 && movingCell.Index == movingCell.Row.Cells.Count - 1 && movingCell.Row.Index + 1 == anchorCell.Row.Index)) 467TableCellCollection cells = row.Cells; 482while (rowIndex < rows.Count && rows[rowIndex].Cells.Count == 0) 489movingCell = rows[rowIndex].Cells[0]; 509while (rowIndex >= 0 && rows[rowIndex].Cells.Count == 0) 516movingCell = rows[rowIndex].Cells[rows[rowIndex].Cells.Count - 1]; 673row.Cells.Add(cell); 1169TableCellCollection cells = currentRow.Cells; 1283TableCellCollection cells = row.Cells; 1307TableCellCollection nextRowCells = nextRow.Cells; 1374if (row.Cells[0].ColumnIndex == 0) 1376AddCellCopy(row, row.Cells[0], 0, true, false); 1383for (int iCell = 0; iCell < row.Cells.Count; iCell++) 1385TableCell cell = row.Cells[iCell]; 1402AddCellCopy(row, cellInsertAfter, row.Cells.IndexOf(cellInsertAfter) + 1, true, true); 1494for (int iCell = 0; iCell < row.Cells.Count; iCell++) 1496TableCell cell = row.Cells[iCell]; 1513row.Cells.Remove(cellDelete); 1905TableCellCollection cells = startCell.Row.Cells; 2098movingCell = movingCell.Row.Cells[movingCell.Index - 1]; 2107movingCell = movingCellRow.Cells[movingCellRow.Cells.Count - 1]; 2262newRow.Cells.Add(newCell); 2266newRow.Cells.Insert(cellInsertionIndex, newCell); 2456row.Cells.RemoveRange(firstCell.Index + 1, lastCell.Index - firstCell.Index + 1 - 1); 2464if (firstCell.Index == 0 && lastCell.Index == lastCell.Row.Cells.Count - 1) 2495row.Cells.RemoveRange(firstCell.Index, lastCell.Index - firstCell.Index + 1); 2515for (int cellIndex = 0; cellIndex < row.Cells.Count; cellIndex++) 2517TableCell cell = row.Cells[cellIndex];
System\windows\Documents\TextSelection.cs (3)
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)
5866bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Documents.TableRow)target).Cells; };
System\Windows\Markup\KnownTypes.cs (1)
2531case KnownElements.TableRow: return (o as System.Windows.Documents.TableRow).Cells;