4 instantiations of Table
PresentationFramework (4)
src\Framework\System\Windows\Documents\FixedElement.cs (1)
244root = new Table();
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (1)
664Table table = new Table();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9758bamlType.DefaultConstructor = delegate() { return new System.Windows.Documents.Table(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1583case KnownElements.Table: o = new System.Windows.Documents.Table(); break;
144 references to Table
PresentationFramework (144)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
1026else if (typeof(Table).IsAssignableFrom(elementType) ||
src\Framework\MS\Internal\Documents\IAcceptInsertion.cs (1)
12/// This interface should be implemented by <see cref="System.Windows.Documents.Table"/> related types
src\Framework\MS\Internal\Documents\IIndexedChild.cs (1)
14/// Classes comprising structure of <see cref="Table"/> are <see cref="TextElement"/> derived
src\Framework\MS\Internal\Documents\TableColumnCollectionInternal.cs (2)
15internal class TableColumnCollectionInternal : ContentElementCollection<Table, TableColumn> 17internal TableColumnCollectionInternal(Table owner)
src\Framework\MS\Internal\Documents\TableTextElementCollectionInternal.cs (1)
12/// This class is used to generate code for row, row group, and cell collections in <see cref="Table"/>
src\Framework\MS\Internal\Documents\TextDocumentView.cs (4)
432internal CellInfo GetCellInfoFromPoint(Point point, Table tableFilter) 970private CellInfo GetCellInfoFromPoint(ReadOnlyCollection<ParagraphResult> paragraphs, ReadOnlyCollection<ParagraphResult> floatingElements, Point point, Table tableFilter) 1015private CellInfo GetCellInfoFromPoint(ParagraphResult paragraph, Point point, Table tableFilter) 1090private CellInfo GetCellInfoFromPoint(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, Point point, Table tableFilter)
src\Framework\MS\Internal\LayoutDump.cs (1)
934Type type = typeof(Table);
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (1)
429internal Table Table { get { return (Cell.Table); } }
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (1)
1096else if (element is Table)
src\Framework\MS\Internal\PtsHost\MbpInfo.cs (1)
128else if (o is Table || o is List)
src\Framework\MS\Internal\PtsHost\RowParagraph.cs (1)
383internal Table Table { get { return Row.Table; } }
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (2)
207Table table = TableParagraph.Table; 1350internal Table Table
src\Framework\MS\Internal\PtsHost\TableParagraph.cs (2)
498internal Table Table 502return (Table)Element;
src\Framework\System\Windows\Automation\Peers\TableAutomationPeer.cs (5)
23public TableAutomationPeer(Table owner) 97foreach (TableRowGroup group in ((Table)Owner).RowGroups) 109return ((Table)Owner).ColumnCount; 140Table table = (Table)Owner;
src\Framework\System\Windows\Documents\ColumnResizeUndoUnit.cs (2)
47Table table; 53table = (Table) textPointerTable.Parent;
src\Framework\System\Windows\Documents\FixedElement.cs (2)
104Table.CellSpacingProperty.AddOwner( 405return typeof(Table);
src\Framework\System\Windows\Documents\FixedSOMTable.cs (2)
125if (element.Type == typeof(Table)) 127element.SetValue(Table.CellSpacingProperty, 0.0);
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
54/// <see cref="Paragraph"/>, <see cref="Section"/>, <see cref="List"/>, <see cref="Table"/>.
src\Framework\System\Windows\Documents\Table.cs (4)
55MarginProperty.OverrideMetadata(typeof(Table), new FrameworkPropertyMetadata(new Thickness(Double.NaN))); 439internal TableChildrenCollectionEnumeratorSimple(Table table) 529private Table _table; 562typeof(Table),
src\Framework\System\Windows\Documents\TableCell.cs (1)
400internal Table Table { get { return Row != null ? Row.Table : null; } }
src\Framework\System\Windows\Documents\TableColumn.cs (10)
33public class TableColumn : FrameworkContentElement, IIndexedChild<Table> 112void IIndexedChild<Table>.OnEnterParentTree() 120void IIndexedChild<Table>.OnExitParentTree() 125void IIndexedChild<Table>.OnAfterExitParentTree(Table parent) 129int IIndexedChild<Table>.Index 165internal Table Table { get { return Parent as Table; } } 278Table table = ((TableColumn) d).Table; 290Table table = ((TableColumn) d).Table;
src\Framework\System\Windows\Documents\TableColumnCollection.cs (1)
36internal TableColumnCollection(Table owner)
src\Framework\System\Windows\Documents\TableRow.cs (1)
296internal Table Table { get { return (RowGroup != null ? RowGroup.Table : null); } }
src\Framework\System\Windows\Documents\TableRowGroup.cs (13)
50public class TableRowGroup : TextElement, IAddChild, IIndexedChild<Table>, IAcceptInsertion 172void IIndexedChild<Table>.OnEnterParentTree() 180void IIndexedChild<Table>.OnExitParentTree() 185void IIndexedChild<Table>.OnAfterExitParentTree(Table parent) 190int IIndexedChild<Table>.Index 219internal void OnAfterExitParentTree(Table table) 257internal Table Table 261return Parent as Table; 328if (newParent != null && !(newParent is Table)) 336((Table)oldParent).RowGroups.InternalRemove(this); 337OnAfterExitParentTree(oldParent as Table); 344((Table)newParent).RowGroups.InternalAdd(this);
src\Framework\System\Windows\Documents\TableRowGroupCollection.cs (3)
35internal TableRowGroupCollection(Table owner) 37_rowGroupCollectionInternal = new TableTextElementCollectionInternal<Table, TableRowGroup>(owner); 559private TableTextElementCollectionInternal<Table, TableRowGroup> _rowGroupCollectionInternal;
src\Framework\System\Windows\Documents\TextPointer.cs (1)
1051/// or <see cref="Table"/>element. In such case the method
src\Framework\System\Windows\Documents\TextPointerBase.cs (1)
261typeof(Table).IsAssignableFrom(position.GetElementType(LogicalDirection.Forward)));
src\Framework\System\Windows\Documents\TextRange.cs (2)
1115internal Table InsertTable(int rowCount, int columnCount) 1699internal virtual Table InsertTableVirtual(int rowCount, int columnCount)
src\Framework\System\Windows\Documents\TextRangeEditLists.cs (1)
297if (block is Table || block is Section)
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (45)
41internal static bool GetColumnRange(ITextRange range, Table table, out int firstColumnIndex, out int lastColumnIndex) 113internal static Table GetTableFromPosition(TextPointer position) 116while (element != null && !(element is Table)) 121return element as Table; 196Table anchorTable; 197Table movingTable; 240Table anchorTable; 241Table movingTable; 297Table anchorTable; 298Table movingTable; 633internal static Table InsertTable(TextPointer insertionPosition, int rowCount, int columnCount) 664Table table = new Table(); 733Table currentTable = TextRangeEditTables.GetTableFromPosition(position); 778internal static TextPointer GetAdjustedRowEndPosition(Table currentTable, TextPointer rowEndPosition) 826if (parent is Table) 957Table startTable; 958Table endTable; 1241Table table= startRow.Table; 1271Table table = rows[0].Table; 1365private static void InsertColumn(int colIndex, Table table) 1441Table startTable; 1442Table endTable; 1466InsertColumn(colIndexInsert - 1, endCell.Table as Table); 1470InsertColumn(colIndexInsert, endCell.Table as Table); 1486internal static void DeleteColumn(int colIndex, Table table) // Index to delete 1561DeleteColumn(iIndexDelete, endCell.Table as Table); 1570Table table; 1581out Table table, 1659Table table; 1674internal static void EnsureTableColumnsAreFixedSize(Table table, double[] columnWidths) 1691internal TableColumnResizeInfo(ITextView textView, Table table, int columnIndex, Rect columnRect, double tableAutofitWidth, double[] columnWidths) 1752Table table = this.Table; 1792internal Table Table { get { return (_table); } } 1797private Table _table; 1835Table startTable; 1836Table endTable; 1886Table startTable; 1887Table endTable; 2051out Table anchorTable, out Table movingTable) 2136out Table anchorTable, out Table movingTable) 2175out Table table) 2208else if (element is Table) 2210table = (Table)element;
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (4)
604if (elementTypeStandardized == typeof(Table) && textReader is TextPointer) 607WriteTableColumnsInformation(range, (Table)((TextPointer)textReader).Parent, xmlWriter, xamlTypeMapper); 612private static void WriteTableColumnsInformation(ITextRange range, Table table, XmlWriter xmlWriter, XamlTypeMapper xamlTypeMapper) 1749typeof(Table).IsAssignableFrom(commonAncestor.ParentType) ||
src\Framework\System\Windows\Documents\TextSchema.cs (5)
419else if (typeof(Table).IsAssignableFrom(type)) 421return typeof(Table); 533else if (typeof(Table).IsAssignableFrom(type)) 852else if (typeof(Table).IsAssignableFrom(parentType)) 1041Table.CellSpacingProperty,
src\Framework\System\windows\Documents\TextSelection.cs (2)
1382internal override Table InsertTableVirtual(int rowCount, int columnCount) 1386Table table = base.InsertTableVirtual(rowCount, columnCount);
src\Framework\System\Windows\Documents\TextStore.cs (1)
3341Table currentTable = TextRangeEditTables.GetTableFromPosition(start);
src\Framework\System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (7)
101internal static TableColumn[] SaveColumns(Table table) 121internal static void RestoreColumns(Table table, TableColumn[] savedColumns) 292if(elementNode.TextElement is Table) 294container = new TableElementContentContainer(elementNode.TextElement as Table, 486internal TableElementContentContainer(Table table, PropertyRecord []localValues, ContentContainer childContainer) : 500Table table = (Table) textPointerTable.Parent;
src\Framework\System\Windows\Documents\TextTreeExtractElementUndoUnit.cs (4)
38if (elementNode.TextElement is Table) 40_columns = TextTreeDeleteContentUndoUnit.SaveColumns((Table)elementNode.TextElement); 81if (element is Table) 83TextTreeDeleteContentUndoUnit.RestoreColumns((Table)element, _columns);
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
718case 626: t = () => typeof(Table); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5782Type type = typeof(System.Windows.Documents.Table); 5784this.GetXamlType(typeof(System.Windows.Documents.Table)), // DeclaringType 5790bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Documents.Table)target).RowGroups; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9756typeof(System.Windows.Documents.Table),
src\Framework\System\Windows\Markup\KnownTypes.cs (2)
2522case KnownElements.Table: return (o as System.Windows.Documents.Table).RowGroups; 6170case KnownElements.Table: t = typeof(System.Windows.Documents.Table); break;