68 references to ColumnIndex
PresentationFramework (68)
MS\Internal\PtsHost\CellParaClient.cs (6)
80&& (Cell.ColumnIndex + Cell.ColumnSpan) <= calculatedColumns.Length); 86int i = Cell.ColumnIndex + Cell.ColumnSpan - 1; 360&& (Cell.ColumnIndex + Cell.ColumnSpan) <= calculatedColumns.Length); 366int i = Cell.ColumnIndex + Cell.ColumnSpan - 1; 371} while (--i >= Cell.ColumnIndex); 407internal int ColumnIndex { get { return (Cell.ColumnIndex); } }
MS\Internal\PtsHost\CellParagraph.cs (3)
65Debug.Assert(Cell.Index != -1 && Cell.ColumnIndex != -1, 137Debug.Assert(Cell.Index != -1 && Cell.ColumnIndex != -1, 166Debug.Assert(Cell.Index != -1 && Cell.ColumnIndex != -1,
MS\Internal\PtsTable\RowSpanVector.cs (4)
74int start = cell.ColumnIndex; 78&& cell.ColumnIndex != -1 85Debug.Assert( start < _entries[i].Cell.ColumnIndex 86|| start >= _entries[i].Cell.ColumnIndex + _entries[i].Cell.ColumnSpan);
System\Windows\Automation\Peers\TableAutomationPeer.cs (4)
150if (cell.ColumnIndex <= column && cell.ColumnIndex + cell.ColumnSpan > column) 158if (cell.ColumnIndex <= column && cell.ColumnIndex + cell.ColumnSpan > column)
System\Windows\Automation\Peers\TableCellAutomationPeer.cs (1)
117return ((TableCell)Owner).ColumnIndex;
System\Windows\Documents\TextRangeEditTables.cs (47)
76if (firstCell.ColumnIndex < 0 || lastCell.ColumnIndex < 0) 99firstColumnIndex = firstCell.ColumnIndex; 100lastColumnIndex = lastCell.ColumnIndex + lastCell.ColumnSpan - 1; 335int firstColumnIndex = Math.Min(anchorCell.ColumnIndex, movingCell.ColumnIndex); 336int lastColumnIndex = Math.Max(anchorCell.ColumnIndex + anchorCell.ColumnSpan - 1, movingCell.ColumnIndex + movingCell.ColumnSpan - 1); 350if (firstColumnIndex <= cell.ColumnIndex && cell.ColumnIndex + cell.ColumnSpan - 1 <= lastColumnIndex) 526if (movingCell.ColumnIndex >= anchorCell.ColumnIndex) 1291double borderRight = cell.ColumnIndex + cell.ColumnSpan < columnCount ? 0.0 : border.Left; 1329int columnIndex = spannedCell.ColumnIndex; 1331while (cellIndex < nextRowCells.Count && nextRowCells[cellIndex].ColumnIndex < columnIndex) 1376if (row.Cells[0].ColumnIndex == 0) 1389if (cell.ColumnIndex + cell.ColumnSpan > colIndex) 1391if (cell.ColumnIndex <= colIndex) 1459int colIndexInsert = endCell.ColumnIndex + endCell.ColumnSpan - 1; 1500if (cell.ColumnIndex + cell.ColumnSpan > colIndex) 1502if (cell.ColumnIndex <= colIndex) 1550int iIndexDelete = startCell.ColumnIndex; 1551int cColsDelete = endCell.ColumnIndex - startCell.ColumnIndex + 1; 1626if (cell.ColumnIndex != 0 && point.X < cellInfo.CellArea.Left + sensitivity) 1628columnIndex = cellInfo.Cell.ColumnIndex - 1; 1633if (cell.ColumnIndex + cell.ColumnSpan <= cell.Table.ColumnCount && 1638columnIndex = cell.ColumnIndex + cell.ColumnSpan - 1; 1848Invariant.Assert(startCell.ColumnIndex <= endCell.ColumnIndex + endCell.ColumnSpan - 1, "startCell.ColumnIndex must be <= an index+span of an endCell"); 1854startCell.ColumnIndex, // leftColumn 1855endCell.ColumnIndex + endCell.ColumnSpan - 1); // rightColumn 2095movingCell.ColumnIndex > anchorCell.ColumnIndex + anchorCell.ColumnSpan - 1 && 2391int startColumn = spannedCells[i].ColumnIndex; 2410if (rowIndex == topRow && (firstCell == null || firstCell.ColumnIndex != leftColumn)) 2442Invariant.Assert(firstCell.ColumnIndex == leftColumn, "expecting: firstCell.ColumnIndex == leftColumn"); 2474if ((spannedCell.ColumnIndex < firstCell.ColumnIndex) || 2475(spannedCell.ColumnIndex > lastCell.ColumnIndex)) 2522int startColumn = cell.ColumnIndex; 2540(firstCell == null || firstCell.ColumnIndex >= leftColumn && firstCell.ColumnIndex + firstCell.ColumnSpan - 1 <= rightColumn) && // 2541(lastCell == null || lastCell.ColumnIndex >= leftColumn && lastCell.ColumnIndex + lastCell.ColumnSpan - 1 <= rightColumn); 2547return cell.ColumnIndex + cell.ColumnSpan == cell.Table.ColumnCount;
System\windows\Documents\TextSelection.cs (3)
1044nextCell = FindCellAtColumnIndex(rowGroup.Rows[nextRowIndex].Cells, movingCell.ColumnIndex); 1053nextCell = FindCellAtColumnIndex(rowGroup.Rows[nextRowIndex].Cells, movingCell.ColumnIndex); 2508startColumnIndex = cell.ColumnIndex;