6 instantiations of TableRow
PresentationFramework (6)
src\Framework\System\Windows\Documents\FixedElement.cs (1)
250root = new TableRow();
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (3)
669TableRow row = new TableRow(); 838TableRow tableRow = new TableRow(); 2234TableRow newRow = new TableRow();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9805bamlType.DefaultConstructor = delegate() { return new System.Windows.Documents.TableRow(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1586case KnownElements.TableRow: o = new System.Windows.Documents.TableRow(); break;
130 references to TableRow
PresentationFramework (130)
src\Framework\MS\Internal\Documents\IIndexedChild.cs (3)
23/// whcih means cells are contained in a collection owned by <see cref="TableRow"/> type. 24/// And <see cref="TableRow"/> in turn implements <see cref="IAcceptInsertion"/> 26/// Note that <see cref="TableRow"/> also implements IIndexedChild with parent <see cref="TableRowGroup"/>
src\Framework\MS\Internal\PtsHost\RowParagraph.cs (2)
378internal TableRow Row { get { return (TableRow)Element; } }
src\Framework\MS\Internal\PtsHost\RowVisual.cs (3)
45internal RowVisual(TableRow row) 63internal TableRow Row 77private readonly TableRow _row;
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (8)
260TableRow rowPrevious = null; 266TableRow row; 575TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row; 1226TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row; 1434TableRow row = rowParagraph.Row; 1581TableRow row) 1958TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[0].fsnmRow))).Row; 2018TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
src\Framework\MS\Internal\PtsHost\TableParagraph.cs (3)
278TableRow tableRow = null; 327TableRow currentRow = ((RowParagraph)prevParagraph).Row; 329TableRow tableRow = null;
src\Framework\System\Windows\Automation\Peers\TableAutomationPeer.cs (1)
149foreach (TableRow tableRow in group.Rows)
src\Framework\System\Windows\Documents\FixedElement.cs (1)
411return typeof(TableRow);
src\Framework\System\Windows\Documents\TableCell.cs (12)
51public class TableCell : TextElement, IIndexedChild<TableRow> 105TableRow newParentTR = newParent as TableRow; 114((TableRow)oldParent).Cells.InternalRemove(this); 322void IIndexedChild<TableRow>.OnEnterParentTree() 326void IIndexedChild<TableRow>.OnExitParentTree() 330void IIndexedChild<TableRow>.OnAfterExitParentTree(TableRow parent) 334int IIndexedChild<TableRow>.Index 362internal void OnAfterExitParentTree(TableRow row) 395internal TableRow Row { get { return Parent as TableRow; } }
src\Framework\System\Windows\Documents\TableCellCollection.cs (3)
35internal TableCellCollection(TableRow owner) 37_cellCollectionInternal = new TableTextElementCollectionInternal<TableRow, TableCell>(owner); 560private TableTextElementCollectionInternal<TableRow, TableCell> _cellCollectionInternal;
src\Framework\System\Windows\Documents\TableRowCollection.cs (19)
25public sealed class TableRowCollection : IList<TableRow>, IList 37_rowCollectionInternal = new TableTextElementCollectionInternal<TableRowGroup, TableRow>(owner); 86public void CopyTo(TableRow[] array, int index) 102IEnumerator<TableRow> IEnumerable<TableRow>.GetEnumerator() 104return ((IEnumerable<TableRow>)_rowCollectionInternal).GetEnumerator(); 119public void Add(TableRow item) 144public bool Contains(TableRow item) 154public int IndexOf(TableRow item) 183public void Insert(int index, TableRow item) 203public bool Remove(TableRow item) 440public TableRow this[int index] 459internal void InternalAdd(TableRow item) 467internal void InternalRemove(TableRow item) 504private void PrivateConnectChild(int index, TableRow item) 514private void PrivateDisconnectChild(TableRow item) 520private bool BelongsToOwner(TableRow item) 527private int FindInsertionIndex(TableRow item) 560private TableTextElementCollectionInternal<TableRowGroup, TableRow> _rowCollectionInternal;
src\Framework\System\Windows\Documents\TableRowGroup.cs (3)
97TableRow row = value as TableRow; 105throw (new ArgumentException(SR.Get(SRID.UnexpectedParameterType, value.GetType(), typeof(TableRow)), "value"));
src\Framework\System\windows\Documents\TextEditorTyping.cs (3)
1442TableRow row = ((TextPointer)This.Selection.End).Parent as TableRow; 1478TableRow row = cell.Row;
src\Framework\System\Windows\Documents\TextPointerBase.cs (1)
718return typeof(TableRow).IsAssignableFrom(thisPosition.ParentType) &&
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (51)
125private static TableRow GetTableRowFromPosition(TextPointer position) 128while (element != null && !(element is TableRow)) 133return element as TableRow; 192TableRow anchorRow; 193TableRow movingRow; 236TableRow anchorRow; 237TableRow movingRow; 293TableRow anchorRow; 294TableRow movingRow; 378TableRow anchorRow, TableRow movingRow) 469TableRow row = movingCell.Row; 570TableRow row = (TableRow)selection.MovingPosition.Parent; 602TableRow row = cell.Row; 669TableRow row = new TableRow(); 838TableRow tableRow = new TableRow(); 844if (parent is TableRow) 953TableRow startRow; 954TableRow endRow; 1127TableRow currentRow = GetTableRowFromPosition(currentRowPosition); 1155TableRow firstInsertedRow = null; 1156TableRow lastInsertedRow = null; 1162TableRow newRow = CopyRow(currentRow); 1227TableRow startRow = GetTableRowFromPosition(textRange.Start); 1228TableRow endRow = GetTableRowFromPosition(textRange.End); 1284TableRow row = rows[rowIndex]; 1305private static void CorrectRowSpansOnDeleteRows(TableRow nextRow, int deletedRowsCount) 1373TableRow row = rowGroup.Rows[iRow]; 1437TableRow startRow; 1438TableRow endRow; 1494TableRow row = rowGroup.Rows[iRow]; 1831TableRow startRow; 1832TableRow endRow; 1882TableRow startRow; 1883TableRow endRow; 2049out TableRow anchorRow, out TableRow movingRow, 2107TableRow movingCellRow = movingPosition.Parent as TableRow; 2134out TableRow anchorRow, out TableRow movingRow, 2173out TableRow row, 2197else if (element is TableRow) 2199row = (TableRow)element; 2230private static TableRow CopyRow(TableRow currentRow) 2234TableRow newRow = new TableRow(); 2254private static TableCell AddCellCopy(TableRow newRow, TableCell currentCell, int cellInsertionIndex, bool copyRowSpan, bool copyColumnSpan) 2431TableRow row = rowGroup.Rows[rowIndex]; 2511private static bool GetBoundaryCells(TableRow row, int bottomRow, int leftColumn, int rightColumn, out TableCell firstCell, out TableCell lastCell)
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (3)
366while (!typeof(TableRow).IsAssignableFrom(pointer.ParentType)) 371Invariant.Assert(typeof(TableRow).IsAssignableFrom(pointer.ParentType), "pointer must be in a scope of TableRow"); 1747if (typeof(TableRow).IsAssignableFrom(commonAncestor.ParentType) ||
src\Framework\System\Windows\Documents\TextSchema.cs (7)
200else if (typeof(TableRow).IsAssignableFrom(newType)) 202return typeof(TableRow).IsAssignableFrom(siblingType); 442else if (typeof(TableRow).IsAssignableFrom(type)) 444return typeof(TableRow); 556else if (typeof(TableRow).IsAssignableFrom(type)) 858return typeof(TableRow).IsAssignableFrom(childType); 860else if (typeof(TableRow).IsAssignableFrom(parentType))
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
721case 629: t = () => typeof(TableRow); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5816Type type = typeof(System.Windows.Documents.TableRow); 5818this.GetXamlType(typeof(System.Windows.Documents.TableRow)), // DeclaringType 5824bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Documents.TableRow)target).Cells; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9803typeof(System.Windows.Documents.TableRow),
src\Framework\System\Windows\Markup\KnownTypes.cs (2)
2524case KnownElements.TableRow: return (o as System.Windows.Documents.TableRow).Cells; 6173case KnownElements.TableRow: t = typeof(System.Windows.Documents.TableRow); break;