6 instantiations of TableRow
PresentationFramework (6)
System\Windows\Documents\FixedElement.cs (1)
238
root = new
TableRow
();
System\Windows\Documents\TextRangeEditTables.cs (3)
665
TableRow row = new
TableRow
();
836
TableRow tableRow = new
TableRow
();
2232
TableRow newRow = new
TableRow
();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10877
DefaultConstructor = delegate () { return new System.Windows.Documents.
TableRow
(); },
System\Windows\Markup\KnownTypes.cs (1)
1578
case KnownElements.TableRow: o = new System.Windows.Documents.
TableRow
(); break;
130 references to TableRow
PresentationFramework (130)
MS\Internal\Documents\IIndexedChild.cs (3)
19
/// whcih means cells are contained in a collection owned by <see cref="
TableRow
"/> type.
20
/// And <see cref="
TableRow
"/> in turn implements <see cref="IAcceptInsertion"/>
22
/// Note that <see cref="
TableRow
"/> also implements IIndexedChild with parent <see cref="TableRowGroup"/>
MS\Internal\PtsHost\RowParagraph.cs (2)
359
internal
TableRow
Row { get { return (
TableRow
)Element; } }
MS\Internal\PtsHost\RowVisual.cs (3)
35
internal RowVisual(
TableRow
row)
53
internal
TableRow
Row
67
private readonly
TableRow
_row;
MS\Internal\PtsHost\TableParaClient.cs (8)
233
TableRow
rowPrevious = null;
239
TableRow
row;
525
TableRow
row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
1132
TableRow
row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
1336
TableRow
row = rowParagraph.Row;
1472
TableRow
row)
1835
TableRow
row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[0].fsnmRow))).Row;
1890
TableRow
row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
MS\Internal\PtsHost\TableParagraph.cs (3)
260
TableRow
tableRow = null;
309
TableRow
currentRow = ((RowParagraph)prevParagraph).Row;
311
TableRow
tableRow = null;
System\Windows\Automation\Peers\TableAutomationPeer.cs (1)
143
foreach (
TableRow
tableRow in group.Rows)
System\Windows\Documents\FixedElement.cs (1)
402
return typeof(
TableRow
);
System\Windows\Documents\TableCell.cs (12)
33
public class TableCell : TextElement, IIndexedChild<
TableRow
>
84
TableRow
newParentTR = newParent as
TableRow
;
93
((
TableRow
)oldParent).Cells.InternalRemove(this);
301
void IIndexedChild<
TableRow
>.OnEnterParentTree()
305
void IIndexedChild<
TableRow
>.OnExitParentTree()
309
void IIndexedChild<
TableRow
>.OnAfterExitParentTree(
TableRow
parent)
313
int IIndexedChild<
TableRow
>.Index
338
internal void OnAfterExitParentTree(
TableRow
row)
368
internal
TableRow
Row { get { return Parent as
TableRow
; } }
System\Windows\Documents\TableCellCollection.cs (3)
30
internal TableCellCollection(
TableRow
owner)
32
_cellCollectionInternal = new TableTextElementCollectionInternal<
TableRow
, TableCell>(owner);
555
private TableTextElementCollectionInternal<
TableRow
, TableCell> _cellCollectionInternal;
System\Windows\Documents\TableRowCollection.cs (19)
20
public sealed class TableRowCollection : IList<
TableRow
>, IList
32
_rowCollectionInternal = new TableTextElementCollectionInternal<TableRowGroup,
TableRow
>(owner);
81
public void CopyTo(
TableRow
[] array, int index)
97
IEnumerator<
TableRow
> IEnumerable<
TableRow
>.GetEnumerator()
99
return ((IEnumerable<
TableRow
>)_rowCollectionInternal).GetEnumerator();
114
public void Add(
TableRow
item)
139
public bool Contains(
TableRow
item)
149
public int IndexOf(
TableRow
item)
178
public void Insert(int index,
TableRow
item)
198
public bool Remove(
TableRow
item)
435
public
TableRow
this[int index]
454
internal void InternalAdd(
TableRow
item)
462
internal void InternalRemove(
TableRow
item)
499
private void PrivateConnectChild(int index,
TableRow
item)
509
private void PrivateDisconnectChild(
TableRow
item)
515
private bool BelongsToOwner(
TableRow
item)
522
private int FindInsertionIndex(
TableRow
item)
555
private TableTextElementCollectionInternal<TableRowGroup,
TableRow
> _rowCollectionInternal;
System\Windows\Documents\TableRowGroup.cs (3)
59
TableRow
row = value as
TableRow
;
67
throw (new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(
TableRow
)), nameof(value)));
System\windows\Documents\TextEditorTyping.cs (3)
1403
TableRow
row = ((TextPointer)This.Selection.End).Parent as
TableRow
;
1439
TableRow
row = cell.Row;
System\Windows\Documents\TextPointerBase.cs (1)
710
return typeof(
TableRow
).IsAssignableFrom(thisPosition.ParentType) &&
System\Windows\Documents\TextRangeEditTables.cs (51)
119
private static
TableRow
GetTableRowFromPosition(TextPointer position)
122
while (element != null && !(element is
TableRow
))
127
return element as
TableRow
;
186
TableRow
anchorRow;
187
TableRow
movingRow;
230
TableRow
anchorRow;
231
TableRow
movingRow;
287
TableRow
anchorRow;
288
TableRow
movingRow;
372
TableRow
anchorRow,
TableRow
movingRow)
463
TableRow
row = movingCell.Row;
564
TableRow
row = (
TableRow
)selection.MovingPosition.Parent;
596
TableRow
row = cell.Row;
665
TableRow
row = new TableRow();
836
TableRow
tableRow = new TableRow();
842
if (parent is
TableRow
)
951
TableRow
startRow;
952
TableRow
endRow;
1125
TableRow
currentRow = GetTableRowFromPosition(currentRowPosition);
1153
TableRow
firstInsertedRow = null;
1154
TableRow
lastInsertedRow = null;
1160
TableRow
newRow = CopyRow(currentRow);
1225
TableRow
startRow = GetTableRowFromPosition(textRange.Start);
1226
TableRow
endRow = GetTableRowFromPosition(textRange.End);
1282
TableRow
row = rows[rowIndex];
1303
private static void CorrectRowSpansOnDeleteRows(
TableRow
nextRow, int deletedRowsCount)
1371
TableRow
row = rowGroup.Rows[iRow];
1435
TableRow
startRow;
1436
TableRow
endRow;
1492
TableRow
row = rowGroup.Rows[iRow];
1829
TableRow
startRow;
1830
TableRow
endRow;
1880
TableRow
startRow;
1881
TableRow
endRow;
2047
out
TableRow
anchorRow, out
TableRow
movingRow,
2105
TableRow
movingCellRow = movingPosition.Parent as
TableRow
;
2132
out
TableRow
anchorRow, out
TableRow
movingRow,
2171
out
TableRow
row,
2195
else if (element is
TableRow
)
2197
row = (
TableRow
)element;
2228
private static
TableRow
CopyRow(
TableRow
currentRow)
2232
TableRow
newRow = new TableRow();
2252
private static TableCell AddCellCopy(
TableRow
newRow, TableCell currentCell, int cellInsertionIndex, bool copyRowSpan, bool copyColumnSpan)
2429
TableRow
row = rowGroup.Rows[rowIndex];
2509
private static bool GetBoundaryCells(
TableRow
row, int bottomRow, int leftColumn, int rightColumn, out TableCell firstCell, out TableCell lastCell)
System\Windows\Documents\TextRangeSerialization.cs (3)
353
while (!typeof(
TableRow
).IsAssignableFrom(pointer.ParentType))
358
Invariant.Assert(typeof(
TableRow
).IsAssignableFrom(pointer.ParentType), "pointer must be in a scope of TableRow");
1720
if (typeof(
TableRow
).IsAssignableFrom(commonAncestor.ParentType) ||
System\Windows\Documents\TextSchema.cs (7)
196
else if (typeof(
TableRow
).IsAssignableFrom(newType))
198
return typeof(
TableRow
).IsAssignableFrom(siblingType);
438
else if (typeof(
TableRow
).IsAssignableFrom(type))
440
return typeof(
TableRow
);
552
else if (typeof(
TableRow
).IsAssignableFrom(type))
849
return typeof(
TableRow
).IsAssignableFrom(childType);
851
else if (typeof(
TableRow
).IsAssignableFrom(parentType))
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
722
case 629: t = () => typeof(
TableRow
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
6263
Type type = typeof(System.Windows.Documents.
TableRow
);
6265
this.GetXamlType(typeof(System.Windows.Documents.
TableRow
)), // DeclaringType
6272
GetDelegate = delegate (object target) { return ((System.Windows.Documents.
TableRow
)target).Cells; },
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10874
typeof(System.Windows.Documents.
TableRow
),
System\Windows\Markup\KnownTypes.cs (2)
2524
case KnownElements.TableRow: return (o as System.Windows.Documents.
TableRow
).Cells;
6176
case KnownElements.TableRow: t = typeof(System.Windows.Documents.
TableRow
); break;