System\Windows\Documents\TextRangeEditTables.cs (45)
37internal static bool GetColumnRange(ITextRange range, Table table, out int firstColumnIndex, out int lastColumnIndex)
108internal static Table GetTableFromPosition(TextPointer position)
111while (element != null && !(element is Table))
116return element as Table;
191Table anchorTable;
192Table movingTable;
235Table anchorTable;
236Table movingTable;
292Table anchorTable;
293Table movingTable;
628internal static Table InsertTable(TextPointer insertionPosition, int rowCount, int columnCount)
659Table table = new Table
732Table currentTable = TextRangeEditTables.GetTableFromPosition(position);
777internal static TextPointer GetAdjustedRowEndPosition(Table currentTable, TextPointer rowEndPosition)
825if (parent is Table)
956Table startTable;
957Table endTable;
1240Table table= startRow.Table;
1270Table table = rows[0].Table;
1364private static void InsertColumn(int colIndex, Table table)
1440Table startTable;
1441Table endTable;
1465InsertColumn(colIndexInsert - 1, endCell.Table as Table);
1469InsertColumn(colIndexInsert, endCell.Table as Table);
1485internal static void DeleteColumn(int colIndex, Table table) // Index to delete
1560DeleteColumn(iIndexDelete, endCell.Table as Table);
1569Table table;
1580out Table table,
1658Table table;
1673internal static void EnsureTableColumnsAreFixedSize(Table table, double[] columnWidths)
1690internal TableColumnResizeInfo(ITextView textView, Table table, int columnIndex, Rect columnRect, double tableAutofitWidth, double[] columnWidths)
1751Table table = this.Table;
1791internal Table Table { get { return (_table); } }
1796private Table _table;
1834Table startTable;
1835Table endTable;
1885Table startTable;
1886Table endTable;
2050out Table anchorTable, out Table movingTable)
2135out Table anchorTable, out Table movingTable)
2174out Table table)
2207else if (element is Table)
2209table = (Table)element;