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