58 references to Cells
PresentationFramework (58)
src\Framework\MS\Internal\PtsHost\RowParagraph.cs (6)
247Invariant.Assert(cCells >= Row.Cells.Count); // Protect against buffer overflow 253for (int j = 0; j < Row.Cells.Count; ++j) 255TableCell cell = Row.Cells[j]; 318_cellParagraphs = new CellParagraph[Row.Cells.Count]; 320for(int cellIndex = 0; cellIndex < Row.Cells.Count; cellIndex++) 322_cellParagraphs[cellIndex] = new CellParagraph(Row.Cells[cellIndex], StructuralCache);
src\Framework\System\Windows\Automation\Peers\TableAutomationPeer.cs (1)
153foreach (TableCell cell in tableRow.Cells)
src\Framework\System\Windows\Documents\TableCell.cs (3)
114((TableRow)oldParent).Cells.InternalRemove(this); 119if ((newParentTR != null) && (newParentTR.Cells != null)) // keep PreSharp happy 121newParentTR.Cells.InternalAdd(this);
src\Framework\System\Windows\Documents\TableRow.cs (2)
86Cells.Add(cell); 311return (Cells.Count > 0);
src\Framework\System\windows\Documents\TextEditorTyping.cs (10)
1451cell = body.Rows[rowIndex + 1].Cells[0]; 1458cell = body.Rows[rowIndex - 1].Cells[body.Rows[rowIndex - 1].Cells.Count - 1]; 1481int cellIndex = row.Cells.IndexOf(cell); 1486if (cellIndex + 1 < row.Cells.Count) 1488cell = row.Cells[cellIndex + 1]; 1492cell = body.Rows[rowIndex + 1].Cells[0]; 1503cell = row.Cells[cellIndex - 1]; 1507cell = body.Rows[rowIndex - 1].Cells[body.Rows[rowIndex - 1].Cells.Count - 1];
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (31)
347TableCellCollection cells = rowGroup.Rows[rowIndex].Cells; 461anchorCell.Index == 0 && movingCell.Index == movingCell.Row.Cells.Count - 1 && movingCell.Row.Index + 1 == anchorCell.Row.Index)) 470TableCellCollection cells = row.Cells; 485while (rowIndex < rows.Count && rows[rowIndex].Cells.Count == 0) 492movingCell = rows[rowIndex].Cells[0]; 512while (rowIndex >= 0 && rows[rowIndex].Cells.Count == 0) 519movingCell = rows[rowIndex].Cells[rows[rowIndex].Cells.Count - 1]; 676row.Cells.Add(cell); 1172TableCellCollection cells = currentRow.Cells; 1286TableCellCollection cells = row.Cells; 1310TableCellCollection nextRowCells = nextRow.Cells; 1377if (row.Cells[0].ColumnIndex == 0) 1379AddCellCopy(row, row.Cells[0], 0, true, false); 1386for (int iCell = 0; iCell < row.Cells.Count; iCell++) 1388TableCell cell = row.Cells[iCell]; 1405AddCellCopy(row, cellInsertAfter, row.Cells.IndexOf(cellInsertAfter) + 1, true, true); 1497for (int iCell = 0; iCell < row.Cells.Count; iCell++) 1499TableCell cell = row.Cells[iCell]; 1516row.Cells.Remove(cellDelete); 1908TableCellCollection cells = startCell.Row.Cells; 2101movingCell = movingCell.Row.Cells[movingCell.Index - 1]; 2110movingCell = movingCellRow.Cells[movingCellRow.Cells.Count - 1]; 2265newRow.Cells.Add(newCell); 2269newRow.Cells.Insert(cellInsertionIndex, newCell); 2459row.Cells.RemoveRange(firstCell.Index + 1, lastCell.Index - firstCell.Index + 1 - 1); 2467if (firstCell.Index == 0 && lastCell.Index == lastCell.Row.Cells.Count - 1) 2498row.Cells.RemoveRange(firstCell.Index, lastCell.Index - firstCell.Index + 1); 2518for (int cellIndex = 0; cellIndex < row.Cells.Count; cellIndex++) 2520TableCell cell = row.Cells[cellIndex];
src\Framework\System\windows\Documents\TextSelection.cs (3)
1065nextCell = FindCellAtColumnIndex(rowGroup.Rows[nextRowIndex].Cells, movingCell.ColumnIndex); 1074nextCell = FindCellAtColumnIndex(rowGroup.Rows[nextRowIndex].Cells, movingCell.ColumnIndex); 1390TextPointer cellStart = table.RowGroups[0].Rows[0].Cells[0].ContentStart;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
5824bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Documents.TableRow)target).Cells; };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
2524case KnownElements.TableRow: return (o as System.Windows.Documents.TableRow).Cells;