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