58 references to Cells
PresentationFramework (58)
MS\Internal\PtsHost\RowParagraph.cs (6)
228
Invariant.Assert(cCells >= Row.
Cells
.Count); // Protect against buffer overflow
234
for (int j = 0; j < Row.
Cells
.Count; ++j)
236
TableCell cell = Row.
Cells
[j];
299
_cellParagraphs = new CellParagraph[Row.
Cells
.Count];
301
for(int cellIndex = 0; cellIndex < Row.
Cells
.Count; cellIndex++)
303
_cellParagraphs[cellIndex] = new CellParagraph(Row.
Cells
[cellIndex], StructuralCache);
System\Windows\Automation\Peers\TableAutomationPeer.cs (1)
148
foreach (TableCell cell in tableRow.
Cells
)
System\Windows\Documents\TableCell.cs (3)
94
((TableRow)oldParent).
Cells
.InternalRemove(this);
99
if ((newParentTR != null) && (newParentTR.
Cells
!= null)) // keep PreSharp happy
101
newParentTR.
Cells
.InternalAdd(this);
System\Windows\Documents\TableRow.cs (2)
62
Cells
.Add(cell);
287
return (
Cells
.Count > 0);
System\windows\Documents\TextEditorTyping.cs (10)
1425
cell = body.Rows[rowIndex + 1].
Cells
[0];
1432
cell = body.Rows[rowIndex - 1].
Cells
[body.Rows[rowIndex - 1].
Cells
.Count - 1];
1455
int cellIndex = row.
Cells
.IndexOf(cell);
1460
if (cellIndex + 1 < row.
Cells
.Count)
1462
cell = row.
Cells
[cellIndex + 1];
1466
cell = body.Rows[rowIndex + 1].
Cells
[0];
1477
cell = row.
Cells
[cellIndex - 1];
1481
cell = body.Rows[rowIndex - 1].
Cells
[body.Rows[rowIndex - 1].
Cells
.Count - 1];
System\Windows\Documents\TextRangeEditTables.cs (31)
342
TableCellCollection cells = rowGroup.Rows[rowIndex].
Cells
;
456
anchorCell.Index == 0 && movingCell.Index == movingCell.Row.
Cells
.Count - 1 && movingCell.Row.Index + 1 == anchorCell.Row.Index))
465
TableCellCollection cells = row.
Cells
;
480
while (rowIndex < rows.Count && rows[rowIndex].
Cells
.Count == 0)
487
movingCell = rows[rowIndex].
Cells
[0];
507
while (rowIndex >= 0 && rows[rowIndex].
Cells
.Count == 0)
514
movingCell = rows[rowIndex].
Cells
[rows[rowIndex].
Cells
.Count - 1];
671
row.
Cells
.Add(cell);
1167
TableCellCollection cells = currentRow.
Cells
;
1281
TableCellCollection cells = row.
Cells
;
1305
TableCellCollection nextRowCells = nextRow.
Cells
;
1372
if (row.
Cells
[0].ColumnIndex == 0)
1374
AddCellCopy(row, row.
Cells
[0], 0, true, false);
1381
for (int iCell = 0; iCell < row.
Cells
.Count; iCell++)
1383
TableCell cell = row.
Cells
[iCell];
1400
AddCellCopy(row, cellInsertAfter, row.
Cells
.IndexOf(cellInsertAfter) + 1, true, true);
1492
for (int iCell = 0; iCell < row.
Cells
.Count; iCell++)
1494
TableCell cell = row.
Cells
[iCell];
1511
row.
Cells
.Remove(cellDelete);
1903
TableCellCollection cells = startCell.Row.
Cells
;
2096
movingCell = movingCell.Row.
Cells
[movingCell.Index - 1];
2105
movingCell = movingCellRow.
Cells
[movingCellRow.
Cells
.Count - 1];
2260
newRow.
Cells
.Add(newCell);
2264
newRow.
Cells
.Insert(cellInsertionIndex, newCell);
2454
row.
Cells
.RemoveRange(firstCell.Index + 1, lastCell.Index - firstCell.Index + 1 - 1);
2462
if (firstCell.Index == 0 && lastCell.Index == lastCell.Row.
Cells
.Count - 1)
2493
row.
Cells
.RemoveRange(firstCell.Index, lastCell.Index - firstCell.Index + 1);
2513
for (int cellIndex = 0; cellIndex < row.
Cells
.Count; cellIndex++)
2515
TableCell cell = row.
Cells
[cellIndex];
System\windows\Documents\TextSelection.cs (3)
1059
nextCell = FindCellAtColumnIndex(rowGroup.Rows[nextRowIndex].
Cells
, movingCell.ColumnIndex);
1068
nextCell = FindCellAtColumnIndex(rowGroup.Rows[nextRowIndex].
Cells
, movingCell.ColumnIndex);
1384
TextPointer cellStart = table.RowGroups[0].Rows[0].
Cells
[0].ContentStart;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
5864
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Documents.TableRow)target).
Cells
; };
System\Windows\Markup\KnownTypes.cs (1)
2531
case KnownElements.TableRow: return (o as System.Windows.Documents.TableRow).
Cells
;