6 instantiations of TableRow
PresentationFramework (6)
System\Windows\Documents\FixedElement.cs (1)
245root = new TableRow();
System\Windows\Documents\TextRangeEditTables.cs (3)
666TableRow row = new TableRow(); 835TableRow tableRow = new TableRow(); 2231TableRow newRow = new TableRow();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9809bamlType.DefaultConstructor = delegate() { return new System.Windows.Documents.TableRow(); };
System\Windows\Markup\KnownTypes.cs (1)
1585case 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)
363internal TableRow Row { get { return (TableRow)Element; } }
MS\Internal\PtsHost\RowVisual.cs (3)
40internal RowVisual(TableRow row) 58internal TableRow Row 72private readonly TableRow _row;
MS\Internal\PtsHost\TableParaClient.cs (8)
240TableRow rowPrevious = null; 246TableRow row; 532TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row; 1139TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row; 1343TableRow row = rowParagraph.Row; 1479TableRow row) 1842TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[0].fsnmRow))).Row; 1897TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
MS\Internal\PtsHost\TableParagraph.cs (3)
274TableRow tableRow = null; 323TableRow currentRow = ((RowParagraph)prevParagraph).Row; 325TableRow tableRow = null;
System\Windows\Automation\Peers\TableAutomationPeer.cs (1)
144foreach (TableRow tableRow in group.Rows)
System\Windows\Documents\FixedElement.cs (1)
405return typeof(TableRow);
System\Windows\Documents\TableCell.cs (12)
47public class TableCell : TextElement, IIndexedChild<TableRow> 98TableRow newParentTR = newParent as TableRow; 107((TableRow)oldParent).Cells.InternalRemove(this); 315void IIndexedChild<TableRow>.OnEnterParentTree() 319void IIndexedChild<TableRow>.OnExitParentTree() 323void IIndexedChild<TableRow>.OnAfterExitParentTree(TableRow parent) 327int IIndexedChild<TableRow>.Index 355internal void OnAfterExitParentTree(TableRow row) 388internal TableRow Row { get { return Parent as TableRow; } }
System\Windows\Documents\TableCellCollection.cs (3)
33internal TableCellCollection(TableRow owner) 35_cellCollectionInternal = new TableTextElementCollectionInternal<TableRow, TableCell>(owner); 558private TableTextElementCollectionInternal<TableRow, TableCell> _cellCollectionInternal;
System\Windows\Documents\TableRowCollection.cs (19)
23public sealed class TableRowCollection : IList<TableRow>, IList 35_rowCollectionInternal = new TableTextElementCollectionInternal<TableRowGroup, TableRow>(owner); 84public void CopyTo(TableRow[] array, int index) 100IEnumerator<TableRow> IEnumerable<TableRow>.GetEnumerator() 102return ((IEnumerable<TableRow>)_rowCollectionInternal).GetEnumerator(); 117public void Add(TableRow item) 142public bool Contains(TableRow item) 152public int IndexOf(TableRow item) 181public void Insert(int index, TableRow item) 201public bool Remove(TableRow item) 438public TableRow this[int index] 457internal void InternalAdd(TableRow item) 465internal void InternalRemove(TableRow item) 502private void PrivateConnectChild(int index, TableRow item) 512private void PrivateDisconnectChild(TableRow item) 518private bool BelongsToOwner(TableRow item) 525private int FindInsertionIndex(TableRow item) 558private TableTextElementCollectionInternal<TableRowGroup, TableRow> _rowCollectionInternal;
System\Windows\Documents\TableRowGroup.cs (3)
88TableRow row = value as TableRow; 96throw (new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(TableRow)), "value"));
System\windows\Documents\TextEditorTyping.cs (3)
1425TableRow row = ((TextPointer)This.Selection.End).Parent as TableRow; 1461TableRow row = cell.Row;
System\Windows\Documents\TextPointerBase.cs (1)
713return typeof(TableRow).IsAssignableFrom(thisPosition.ParentType) &&
System\Windows\Documents\TextRangeEditTables.cs (51)
122private static TableRow GetTableRowFromPosition(TextPointer position) 125while (element != null && !(element is TableRow)) 130return element as TableRow; 189TableRow anchorRow; 190TableRow movingRow; 233TableRow anchorRow; 234TableRow movingRow; 290TableRow anchorRow; 291TableRow movingRow; 375TableRow anchorRow, TableRow movingRow) 466TableRow row = movingCell.Row; 567TableRow row = (TableRow)selection.MovingPosition.Parent; 599TableRow row = cell.Row; 666TableRow row = new TableRow(); 835TableRow tableRow = new TableRow(); 841if (parent is TableRow) 950TableRow startRow; 951TableRow endRow; 1124TableRow currentRow = GetTableRowFromPosition(currentRowPosition); 1152TableRow firstInsertedRow = null; 1153TableRow lastInsertedRow = null; 1159TableRow newRow = CopyRow(currentRow); 1224TableRow startRow = GetTableRowFromPosition(textRange.Start); 1225TableRow endRow = GetTableRowFromPosition(textRange.End); 1281TableRow row = rows[rowIndex]; 1302private static void CorrectRowSpansOnDeleteRows(TableRow nextRow, int deletedRowsCount) 1370TableRow row = rowGroup.Rows[iRow]; 1434TableRow startRow; 1435TableRow endRow; 1491TableRow row = rowGroup.Rows[iRow]; 1828TableRow startRow; 1829TableRow endRow; 1879TableRow startRow; 1880TableRow endRow; 2046out TableRow anchorRow, out TableRow movingRow, 2104TableRow movingCellRow = movingPosition.Parent as TableRow; 2131out TableRow anchorRow, out TableRow movingRow, 2170out TableRow row, 2194else if (element is TableRow) 2196row = (TableRow)element; 2227private static TableRow CopyRow(TableRow currentRow) 2231TableRow newRow = new TableRow(); 2251private static TableCell AddCellCopy(TableRow newRow, TableCell currentCell, int cellInsertionIndex, bool copyRowSpan, bool copyColumnSpan) 2428TableRow row = rowGroup.Rows[rowIndex]; 2508private static bool GetBoundaryCells(TableRow row, int bottomRow, int leftColumn, int rightColumn, out TableCell firstCell, out TableCell lastCell)
System\Windows\Documents\TextRangeSerialization.cs (3)
360while (!typeof(TableRow).IsAssignableFrom(pointer.ParentType)) 365Invariant.Assert(typeof(TableRow).IsAssignableFrom(pointer.ParentType), "pointer must be in a scope of TableRow"); 1727if (typeof(TableRow).IsAssignableFrom(commonAncestor.ParentType) ||
System\Windows\Documents\TextSchema.cs (7)
198else if (typeof(TableRow).IsAssignableFrom(newType)) 200return typeof(TableRow).IsAssignableFrom(siblingType); 440else if (typeof(TableRow).IsAssignableFrom(type)) 442return typeof(TableRow); 554else if (typeof(TableRow).IsAssignableFrom(type)) 856return typeof(TableRow).IsAssignableFrom(childType); 858else if (typeof(TableRow).IsAssignableFrom(parentType))
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
725case 629: t = () => typeof(TableRow); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5858Type type = typeof(System.Windows.Documents.TableRow); 5860this.GetXamlType(typeof(System.Windows.Documents.TableRow)), // DeclaringType 5866bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Documents.TableRow)target).Cells; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9807typeof(System.Windows.Documents.TableRow),
System\Windows\Markup\KnownTypes.cs (2)
2531case KnownElements.TableRow: return (o as System.Windows.Documents.TableRow).Cells; 6183case KnownElements.TableRow: t = typeof(System.Windows.Documents.TableRow); break;