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