65 references to ColumnIndex
PresentationFramework (65)
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (6)
97&& (Cell.ColumnIndex + Cell.ColumnSpan) <= calculatedColumns.Length); 103int i = Cell.ColumnIndex + Cell.ColumnSpan - 1; 392&& (Cell.ColumnIndex + Cell.ColumnSpan) <= calculatedColumns.Length); 398int i = Cell.ColumnIndex + Cell.ColumnSpan - 1; 403} while (--i >= Cell.ColumnIndex); 439internal int ColumnIndex { get { return (Cell.ColumnIndex); } }
src\Framework\MS\Internal\PtsHost\CellParagraph.cs (3)
77Debug.Assert(Cell.Index != -1 && Cell.ColumnIndex != -1, 149Debug.Assert(Cell.Index != -1 && Cell.ColumnIndex != -1, 178Debug.Assert(Cell.Index != -1 && Cell.ColumnIndex != -1,
src\Framework\MS\Internal\PtsTable\RowSpanVector.cs (1)
80int start = cell.ColumnIndex;
src\Framework\System\Windows\Automation\Peers\TableAutomationPeer.cs (4)
155if (cell.ColumnIndex <= column && cell.ColumnIndex + cell.ColumnSpan > column) 163if (cell.ColumnIndex <= column && cell.ColumnIndex + cell.ColumnSpan > column)
src\Framework\System\Windows\Automation\Peers\TableCellAutomationPeer.cs (1)
119return ((TableCell)Owner).ColumnIndex;
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (47)
80if (firstCell.ColumnIndex < 0 || lastCell.ColumnIndex < 0) 104firstColumnIndex = firstCell.ColumnIndex; 105lastColumnIndex = lastCell.ColumnIndex + lastCell.ColumnSpan - 1; 340int firstColumnIndex = Math.Min(anchorCell.ColumnIndex, movingCell.ColumnIndex); 341int lastColumnIndex = Math.Max(anchorCell.ColumnIndex + anchorCell.ColumnSpan - 1, movingCell.ColumnIndex + movingCell.ColumnSpan - 1); 355if (firstColumnIndex <= cell.ColumnIndex && cell.ColumnIndex + cell.ColumnSpan - 1 <= lastColumnIndex) 531if (movingCell.ColumnIndex >= anchorCell.ColumnIndex) 1292double borderRight = cell.ColumnIndex + cell.ColumnSpan < columnCount ? 0.0 : border.Left; 1330int columnIndex = spannedCell.ColumnIndex; 1332while (cellIndex < nextRowCells.Count && nextRowCells[cellIndex].ColumnIndex < columnIndex) 1377if (row.Cells[0].ColumnIndex == 0) 1390if (cell.ColumnIndex + cell.ColumnSpan > colIndex) 1392if (cell.ColumnIndex <= colIndex) 1460int colIndexInsert = endCell.ColumnIndex + endCell.ColumnSpan - 1; 1501if (cell.ColumnIndex + cell.ColumnSpan > colIndex) 1503if (cell.ColumnIndex <= colIndex) 1551int iIndexDelete = startCell.ColumnIndex; 1552int cColsDelete = endCell.ColumnIndex - startCell.ColumnIndex + 1; 1627if (cell.ColumnIndex != 0 && point.X < cellInfo.CellArea.Left + sensitivity) 1629columnIndex = cellInfo.Cell.ColumnIndex - 1; 1634if (cell.ColumnIndex + cell.ColumnSpan <= cell.Table.ColumnCount && 1639columnIndex = cell.ColumnIndex + cell.ColumnSpan - 1; 1849Invariant.Assert(startCell.ColumnIndex <= endCell.ColumnIndex + endCell.ColumnSpan - 1, "startCell.ColumnIndex must be <= an index+span of an endCell"); 1855startCell.ColumnIndex, // leftColumn 1856endCell.ColumnIndex + endCell.ColumnSpan - 1); // rightColumn 2096movingCell.ColumnIndex > anchorCell.ColumnIndex + anchorCell.ColumnSpan - 1 && 2392int startColumn = spannedCells[i].ColumnIndex; 2411if (rowIndex == topRow && (firstCell == null || firstCell.ColumnIndex != leftColumn)) 2443Invariant.Assert(firstCell.ColumnIndex == leftColumn, "expecting: firstCell.ColumnIndex == leftColumn"); 2475if ((spannedCell.ColumnIndex < firstCell.ColumnIndex) || 2476(spannedCell.ColumnIndex > lastCell.ColumnIndex)) 2523int startColumn = cell.ColumnIndex; 2541(firstCell == null || firstCell.ColumnIndex >= leftColumn && firstCell.ColumnIndex + firstCell.ColumnSpan - 1 <= rightColumn) && // 2542(lastCell == null || lastCell.ColumnIndex >= leftColumn && lastCell.ColumnIndex + lastCell.ColumnSpan - 1 <= rightColumn); 2548return cell.ColumnIndex + cell.ColumnSpan == cell.Table.ColumnCount;
src\Framework\System\windows\Documents\TextSelection.cs (3)
1065nextCell = FindCellAtColumnIndex(rowGroup.Rows[nextRowIndex].Cells, movingCell.ColumnIndex); 1074nextCell = FindCellAtColumnIndex(rowGroup.Rows[nextRowIndex].Cells, movingCell.ColumnIndex); 2537startColumnIndex = cell.ColumnIndex;