6 instantiations of TableRow
PresentationFramework (6)
System\Windows\Documents\FixedElement.cs (1)
237root = new TableRow();
System\Windows\Documents\TextRangeEditTables.cs (3)
664TableRow row = new TableRow(); 833TableRow tableRow = new TableRow(); 2229TableRow newRow = new TableRow();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9807bamlType.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)
359internal 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)
266TableRow tableRow = null; 315TableRow currentRow = ((RowParagraph)prevParagraph).Row; 317TableRow tableRow = null;
System\Windows\Automation\Peers\TableAutomationPeer.cs (1)
144foreach (TableRow tableRow in group.Rows)
System\Windows\Documents\FixedElement.cs (1)
397return 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)
71TableRow row = value as TableRow; 79throw (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; 664TableRow row = new TableRow(); 833TableRow tableRow = new TableRow(); 839if (parent is TableRow) 948TableRow startRow; 949TableRow endRow; 1122TableRow currentRow = GetTableRowFromPosition(currentRowPosition); 1150TableRow firstInsertedRow = null; 1151TableRow lastInsertedRow = null; 1157TableRow newRow = CopyRow(currentRow); 1222TableRow startRow = GetTableRowFromPosition(textRange.Start); 1223TableRow endRow = GetTableRowFromPosition(textRange.End); 1279TableRow row = rows[rowIndex]; 1300private static void CorrectRowSpansOnDeleteRows(TableRow nextRow, int deletedRowsCount) 1368TableRow row = rowGroup.Rows[iRow]; 1432TableRow startRow; 1433TableRow endRow; 1489TableRow row = rowGroup.Rows[iRow]; 1826TableRow startRow; 1827TableRow endRow; 1877TableRow startRow; 1878TableRow endRow; 2044out TableRow anchorRow, out TableRow movingRow, 2102TableRow movingCellRow = movingPosition.Parent as TableRow; 2129out TableRow anchorRow, out TableRow movingRow, 2168out TableRow row, 2192else if (element is TableRow) 2194row = (TableRow)element; 2225private static TableRow CopyRow(TableRow currentRow) 2229TableRow newRow = new TableRow(); 2249private static TableCell AddCellCopy(TableRow newRow, TableCell currentCell, int cellInsertionIndex, bool copyRowSpan, bool copyColumnSpan) 2426TableRow row = rowGroup.Rows[rowIndex]; 2506private 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)) 855return typeof(TableRow).IsAssignableFrom(childType); 857else 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)
5856Type type = typeof(System.Windows.Documents.TableRow); 5858this.GetXamlType(typeof(System.Windows.Documents.TableRow)), // DeclaringType 5864bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Documents.TableRow)target).Cells; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9805typeof(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;