68 references to ColumnIndex
PresentationFramework (68)
MS\Internal\PtsHost\CellParaClient.cs (6)
79
&& (Cell.
ColumnIndex
+ Cell.ColumnSpan) <= calculatedColumns.Length);
85
int i = Cell.
ColumnIndex
+ Cell.ColumnSpan - 1;
359
&& (Cell.
ColumnIndex
+ Cell.ColumnSpan) <= calculatedColumns.Length);
365
int i = Cell.
ColumnIndex
+ Cell.ColumnSpan - 1;
370
} while (--i >= Cell.
ColumnIndex
);
406
internal int ColumnIndex { get { return (Cell.
ColumnIndex
); } }
MS\Internal\PtsHost\CellParagraph.cs (3)
64
Debug.Assert(Cell.Index != -1 && Cell.
ColumnIndex
!= -1,
136
Debug.Assert(Cell.Index != -1 && Cell.
ColumnIndex
!= -1,
165
Debug.Assert(Cell.Index != -1 && Cell.
ColumnIndex
!= -1,
MS\Internal\PtsTable\RowSpanVector.cs (4)
73
int start = cell.
ColumnIndex
;
77
&& cell.
ColumnIndex
!= -1
84
Debug.Assert( start < _entries[i].Cell.
ColumnIndex
85
|| start >= _entries[i].Cell.
ColumnIndex
+ _entries[i].Cell.ColumnSpan);
System\Windows\Automation\Peers\TableAutomationPeer.cs (4)
149
if (cell.
ColumnIndex
<= column && cell.
ColumnIndex
+ cell.ColumnSpan > column)
157
if (cell.
ColumnIndex
<= column && cell.
ColumnIndex
+ cell.ColumnSpan > column)
System\Windows\Automation\Peers\TableCellAutomationPeer.cs (1)
116
return ((TableCell)Owner).
ColumnIndex
;
System\Windows\Documents\TextRangeEditTables.cs (47)
75
if (firstCell.
ColumnIndex
< 0 || lastCell.
ColumnIndex
< 0)
98
firstColumnIndex = firstCell.
ColumnIndex
;
99
lastColumnIndex = lastCell.
ColumnIndex
+ lastCell.ColumnSpan - 1;
334
int firstColumnIndex = Math.Min(anchorCell.
ColumnIndex
, movingCell.
ColumnIndex
);
335
int lastColumnIndex = Math.Max(anchorCell.
ColumnIndex
+ anchorCell.ColumnSpan - 1, movingCell.
ColumnIndex
+ movingCell.ColumnSpan - 1);
349
if (firstColumnIndex <= cell.
ColumnIndex
&& cell.
ColumnIndex
+ cell.ColumnSpan - 1 <= lastColumnIndex)
525
if (movingCell.
ColumnIndex
>= anchorCell.
ColumnIndex
)
1290
double borderRight = cell.
ColumnIndex
+ cell.ColumnSpan < columnCount ? 0.0 : border.Left;
1328
int columnIndex = spannedCell.
ColumnIndex
;
1330
while (cellIndex < nextRowCells.Count && nextRowCells[cellIndex].
ColumnIndex
< columnIndex)
1375
if (row.Cells[0].
ColumnIndex
== 0)
1388
if (cell.
ColumnIndex
+ cell.ColumnSpan > colIndex)
1390
if (cell.
ColumnIndex
<= colIndex)
1458
int colIndexInsert = endCell.
ColumnIndex
+ endCell.ColumnSpan - 1;
1499
if (cell.
ColumnIndex
+ cell.ColumnSpan > colIndex)
1501
if (cell.
ColumnIndex
<= colIndex)
1549
int iIndexDelete = startCell.
ColumnIndex
;
1550
int cColsDelete = endCell.
ColumnIndex
- startCell.
ColumnIndex
+ 1;
1625
if (cell.
ColumnIndex
!= 0 && point.X < cellInfo.CellArea.Left + sensitivity)
1627
columnIndex = cellInfo.Cell.
ColumnIndex
- 1;
1632
if (cell.
ColumnIndex
+ cell.ColumnSpan <= cell.Table.ColumnCount &&
1637
columnIndex = cell.
ColumnIndex
+ cell.ColumnSpan - 1;
1847
Invariant.Assert(startCell.
ColumnIndex
<= endCell.
ColumnIndex
+ endCell.ColumnSpan - 1, "startCell.ColumnIndex must be <= an index+span of an endCell");
1853
startCell.
ColumnIndex
, // leftColumn
1854
endCell.
ColumnIndex
+ endCell.ColumnSpan - 1); // rightColumn
2094
movingCell.
ColumnIndex
> anchorCell.
ColumnIndex
+ anchorCell.ColumnSpan - 1 &&
2390
int startColumn = spannedCells[i].
ColumnIndex
;
2409
if (rowIndex == topRow && (firstCell == null || firstCell.
ColumnIndex
!= leftColumn))
2441
Invariant.Assert(firstCell.
ColumnIndex
== leftColumn, "expecting: firstCell.ColumnIndex == leftColumn");
2473
if ((spannedCell.
ColumnIndex
< firstCell.
ColumnIndex
) ||
2474
(spannedCell.
ColumnIndex
> lastCell.
ColumnIndex
))
2521
int startColumn = cell.
ColumnIndex
;
2539
(firstCell == null || firstCell.
ColumnIndex
>= leftColumn && firstCell.
ColumnIndex
+ firstCell.ColumnSpan - 1 <= rightColumn) && //
2540
(lastCell == null || lastCell.
ColumnIndex
>= leftColumn && lastCell.
ColumnIndex
+ lastCell.ColumnSpan - 1 <= rightColumn);
2546
return cell.
ColumnIndex
+ cell.ColumnSpan == cell.Table.ColumnCount;
System\windows\Documents\TextSelection.cs (3)
1043
nextCell = FindCellAtColumnIndex(rowGroup.Rows[nextRowIndex].Cells, movingCell.
ColumnIndex
);
1052
nextCell = FindCellAtColumnIndex(rowGroup.Rows[nextRowIndex].Cells, movingCell.
ColumnIndex
);
2507
startColumnIndex = cell.
ColumnIndex
;