6 instantiations of TableRow
PresentationFramework (6)
System\Windows\Documents\FixedElement.cs (1)
239
root = new
TableRow
();
System\Windows\Documents\TextRangeEditTables.cs (3)
666
TableRow row = new
TableRow
();
837
TableRow tableRow = new
TableRow
();
2233
TableRow newRow = new
TableRow
();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10878
DefaultConstructor = delegate () { return new System.Windows.Documents.
TableRow
(); },
System\Windows\Markup\KnownTypes.cs (1)
1579
case KnownElements.TableRow: o = new System.Windows.Documents.
TableRow
(); break;
130 references to TableRow
PresentationFramework (130)
MS\Internal\Documents\IIndexedChild.cs (3)
20
/// whcih means cells are contained in a collection owned by <see cref="
TableRow
"/> type.
21
/// And <see cref="
TableRow
"/> in turn implements <see cref="IAcceptInsertion"/>
23
/// Note that <see cref="
TableRow
"/> also implements IIndexedChild with parent <see cref="TableRowGroup"/>
MS\Internal\PtsHost\RowParagraph.cs (2)
360
internal
TableRow
Row { get { return (
TableRow
)Element; } }
MS\Internal\PtsHost\RowVisual.cs (3)
36
internal RowVisual(
TableRow
row)
54
internal
TableRow
Row
68
private readonly
TableRow
_row;
MS\Internal\PtsHost\TableParaClient.cs (8)
234
TableRow
rowPrevious = null;
240
TableRow
row;
526
TableRow
row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
1133
TableRow
row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
1337
TableRow
row = rowParagraph.Row;
1473
TableRow
row)
1836
TableRow
row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[0].fsnmRow))).Row;
1891
TableRow
row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
MS\Internal\PtsHost\TableParagraph.cs (3)
261
TableRow
tableRow = null;
310
TableRow
currentRow = ((RowParagraph)prevParagraph).Row;
312
TableRow
tableRow = null;
System\Windows\Automation\Peers\TableAutomationPeer.cs (1)
144
foreach (
TableRow
tableRow in group.Rows)
System\Windows\Documents\FixedElement.cs (1)
403
return typeof(
TableRow
);
System\Windows\Documents\TableCell.cs (12)
34
public class TableCell : TextElement, IIndexedChild<
TableRow
>
85
TableRow
newParentTR = newParent as
TableRow
;
94
((
TableRow
)oldParent).Cells.InternalRemove(this);
302
void IIndexedChild<
TableRow
>.OnEnterParentTree()
306
void IIndexedChild<
TableRow
>.OnExitParentTree()
310
void IIndexedChild<
TableRow
>.OnAfterExitParentTree(
TableRow
parent)
314
int IIndexedChild<
TableRow
>.Index
342
internal void OnAfterExitParentTree(
TableRow
row)
375
internal
TableRow
Row { get { return Parent as
TableRow
; } }
System\Windows\Documents\TableCellCollection.cs (3)
31
internal TableCellCollection(
TableRow
owner)
33
_cellCollectionInternal = new TableTextElementCollectionInternal<
TableRow
, TableCell>(owner);
556
private TableTextElementCollectionInternal<
TableRow
, TableCell> _cellCollectionInternal;
System\Windows\Documents\TableRowCollection.cs (19)
21
public sealed class TableRowCollection : IList<
TableRow
>, IList
33
_rowCollectionInternal = new TableTextElementCollectionInternal<TableRowGroup,
TableRow
>(owner);
82
public void CopyTo(
TableRow
[] array, int index)
98
IEnumerator<
TableRow
> IEnumerable<
TableRow
>.GetEnumerator()
100
return ((IEnumerable<
TableRow
>)_rowCollectionInternal).GetEnumerator();
115
public void Add(
TableRow
item)
140
public bool Contains(
TableRow
item)
150
public int IndexOf(
TableRow
item)
179
public void Insert(int index,
TableRow
item)
199
public bool Remove(
TableRow
item)
436
public
TableRow
this[int index]
455
internal void InternalAdd(
TableRow
item)
463
internal void InternalRemove(
TableRow
item)
500
private void PrivateConnectChild(int index,
TableRow
item)
510
private void PrivateDisconnectChild(
TableRow
item)
516
private bool BelongsToOwner(
TableRow
item)
523
private int FindInsertionIndex(
TableRow
item)
556
private TableTextElementCollectionInternal<TableRowGroup,
TableRow
> _rowCollectionInternal;
System\Windows\Documents\TableRowGroup.cs (3)
60
TableRow
row = value as
TableRow
;
68
throw (new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(
TableRow
)), "value"));
System\windows\Documents\TextEditorTyping.cs (3)
1416
TableRow
row = ((TextPointer)This.Selection.End).Parent as
TableRow
;
1452
TableRow
row = cell.Row;
System\Windows\Documents\TextPointerBase.cs (1)
711
return typeof(
TableRow
).IsAssignableFrom(thisPosition.ParentType) &&
System\Windows\Documents\TextRangeEditTables.cs (51)
120
private static
TableRow
GetTableRowFromPosition(TextPointer position)
123
while (element != null && !(element is
TableRow
))
128
return element as
TableRow
;
187
TableRow
anchorRow;
188
TableRow
movingRow;
231
TableRow
anchorRow;
232
TableRow
movingRow;
288
TableRow
anchorRow;
289
TableRow
movingRow;
373
TableRow
anchorRow,
TableRow
movingRow)
464
TableRow
row = movingCell.Row;
565
TableRow
row = (
TableRow
)selection.MovingPosition.Parent;
597
TableRow
row = cell.Row;
666
TableRow
row = new TableRow();
837
TableRow
tableRow = new TableRow();
843
if (parent is
TableRow
)
952
TableRow
startRow;
953
TableRow
endRow;
1126
TableRow
currentRow = GetTableRowFromPosition(currentRowPosition);
1154
TableRow
firstInsertedRow = null;
1155
TableRow
lastInsertedRow = null;
1161
TableRow
newRow = CopyRow(currentRow);
1226
TableRow
startRow = GetTableRowFromPosition(textRange.Start);
1227
TableRow
endRow = GetTableRowFromPosition(textRange.End);
1283
TableRow
row = rows[rowIndex];
1304
private static void CorrectRowSpansOnDeleteRows(
TableRow
nextRow, int deletedRowsCount)
1372
TableRow
row = rowGroup.Rows[iRow];
1436
TableRow
startRow;
1437
TableRow
endRow;
1493
TableRow
row = rowGroup.Rows[iRow];
1830
TableRow
startRow;
1831
TableRow
endRow;
1881
TableRow
startRow;
1882
TableRow
endRow;
2048
out
TableRow
anchorRow, out
TableRow
movingRow,
2106
TableRow
movingCellRow = movingPosition.Parent as
TableRow
;
2133
out
TableRow
anchorRow, out
TableRow
movingRow,
2172
out
TableRow
row,
2196
else if (element is
TableRow
)
2198
row = (
TableRow
)element;
2229
private static
TableRow
CopyRow(
TableRow
currentRow)
2233
TableRow
newRow = new TableRow();
2253
private static TableCell AddCellCopy(
TableRow
newRow, TableCell currentCell, int cellInsertionIndex, bool copyRowSpan, bool copyColumnSpan)
2430
TableRow
row = rowGroup.Rows[rowIndex];
2510
private static bool GetBoundaryCells(
TableRow
row, int bottomRow, int leftColumn, int rightColumn, out TableCell firstCell, out TableCell lastCell)
System\Windows\Documents\TextRangeSerialization.cs (3)
354
while (!typeof(
TableRow
).IsAssignableFrom(pointer.ParentType))
359
Invariant.Assert(typeof(
TableRow
).IsAssignableFrom(pointer.ParentType), "pointer must be in a scope of TableRow");
1721
if (typeof(
TableRow
).IsAssignableFrom(commonAncestor.ParentType) ||
System\Windows\Documents\TextSchema.cs (7)
197
else if (typeof(
TableRow
).IsAssignableFrom(newType))
199
return typeof(
TableRow
).IsAssignableFrom(siblingType);
439
else if (typeof(
TableRow
).IsAssignableFrom(type))
441
return typeof(
TableRow
);
553
else if (typeof(
TableRow
).IsAssignableFrom(type))
850
return typeof(
TableRow
).IsAssignableFrom(childType);
852
else if (typeof(
TableRow
).IsAssignableFrom(parentType))
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
723
case 629: t = () => typeof(
TableRow
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
6264
Type type = typeof(System.Windows.Documents.
TableRow
);
6266
this.GetXamlType(typeof(System.Windows.Documents.
TableRow
)), // DeclaringType
6273
GetDelegate = delegate (object target) { return ((System.Windows.Documents.
TableRow
)target).Cells; },
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10875
typeof(System.Windows.Documents.
TableRow
),
System\Windows\Markup\KnownTypes.cs (2)
2525
case KnownElements.TableRow: return (o as System.Windows.Documents.
TableRow
).Cells;
6177
case KnownElements.TableRow: t = typeof(System.Windows.Documents.
TableRow
); break;