68 references to ColumnIndex
PresentationFramework (68)
MS\Internal\PtsHost\CellParaClient.cs (6)
85
&& (Cell.
ColumnIndex
+ Cell.ColumnSpan) <= calculatedColumns.Length);
91
int i = Cell.
ColumnIndex
+ Cell.ColumnSpan - 1;
365
&& (Cell.
ColumnIndex
+ Cell.ColumnSpan) <= calculatedColumns.Length);
371
int i = Cell.
ColumnIndex
+ Cell.ColumnSpan - 1;
376
} while (--i >= Cell.
ColumnIndex
);
412
internal int ColumnIndex { get { return (Cell.
ColumnIndex
); } }
MS\Internal\PtsHost\CellParagraph.cs (3)
69
Debug.Assert(Cell.Index != -1 && Cell.
ColumnIndex
!= -1,
141
Debug.Assert(Cell.Index != -1 && Cell.
ColumnIndex
!= -1,
170
Debug.Assert(Cell.Index != -1 && Cell.
ColumnIndex
!= -1,
MS\Internal\PtsTable\RowSpanVector.cs (4)
76
int start = cell.
ColumnIndex
;
80
&& cell.
ColumnIndex
!= -1
87
Debug.Assert( start < _entries[i].Cell.
ColumnIndex
88
|| start >= _entries[i].Cell.
ColumnIndex
+ _entries[i].Cell.ColumnSpan);
System\Windows\Automation\Peers\TableAutomationPeer.cs (4)
150
if (cell.
ColumnIndex
<= column && cell.
ColumnIndex
+ cell.ColumnSpan > column)
158
if (cell.
ColumnIndex
<= column && cell.
ColumnIndex
+ cell.ColumnSpan > column)
System\Windows\Automation\Peers\TableCellAutomationPeer.cs (1)
117
return ((TableCell)Owner).
ColumnIndex
;
System\Windows\Documents\TextRangeEditTables.cs (47)
78
if (firstCell.
ColumnIndex
< 0 || lastCell.
ColumnIndex
< 0)
101
firstColumnIndex = firstCell.
ColumnIndex
;
102
lastColumnIndex = lastCell.
ColumnIndex
+ lastCell.ColumnSpan - 1;
337
int firstColumnIndex = Math.Min(anchorCell.
ColumnIndex
, movingCell.
ColumnIndex
);
338
int lastColumnIndex = Math.Max(anchorCell.
ColumnIndex
+ anchorCell.ColumnSpan - 1, movingCell.
ColumnIndex
+ movingCell.ColumnSpan - 1);
352
if (firstColumnIndex <= cell.
ColumnIndex
&& cell.
ColumnIndex
+ cell.ColumnSpan - 1 <= lastColumnIndex)
528
if (movingCell.
ColumnIndex
>= anchorCell.
ColumnIndex
)
1289
double borderRight = cell.
ColumnIndex
+ cell.ColumnSpan < columnCount ? 0.0 : border.Left;
1327
int columnIndex = spannedCell.
ColumnIndex
;
1329
while (cellIndex < nextRowCells.Count && nextRowCells[cellIndex].
ColumnIndex
< columnIndex)
1374
if (row.Cells[0].
ColumnIndex
== 0)
1387
if (cell.
ColumnIndex
+ cell.ColumnSpan > colIndex)
1389
if (cell.
ColumnIndex
<= colIndex)
1457
int colIndexInsert = endCell.
ColumnIndex
+ endCell.ColumnSpan - 1;
1498
if (cell.
ColumnIndex
+ cell.ColumnSpan > colIndex)
1500
if (cell.
ColumnIndex
<= colIndex)
1548
int iIndexDelete = startCell.
ColumnIndex
;
1549
int cColsDelete = endCell.
ColumnIndex
- startCell.
ColumnIndex
+ 1;
1624
if (cell.
ColumnIndex
!= 0 && point.X < cellInfo.CellArea.Left + sensitivity)
1626
columnIndex = cellInfo.Cell.
ColumnIndex
- 1;
1631
if (cell.
ColumnIndex
+ cell.ColumnSpan <= cell.Table.ColumnCount &&
1636
columnIndex = cell.
ColumnIndex
+ cell.ColumnSpan - 1;
1846
Invariant.Assert(startCell.
ColumnIndex
<= endCell.
ColumnIndex
+ endCell.ColumnSpan - 1, "startCell.ColumnIndex must be <= an index+span of an endCell");
1852
startCell.
ColumnIndex
, // leftColumn
1853
endCell.
ColumnIndex
+ endCell.ColumnSpan - 1); // rightColumn
2093
movingCell.
ColumnIndex
> anchorCell.
ColumnIndex
+ anchorCell.ColumnSpan - 1 &&
2389
int startColumn = spannedCells[i].
ColumnIndex
;
2408
if (rowIndex == topRow && (firstCell == null || firstCell.
ColumnIndex
!= leftColumn))
2440
Invariant.Assert(firstCell.
ColumnIndex
== leftColumn, "expecting: firstCell.ColumnIndex == leftColumn");
2472
if ((spannedCell.
ColumnIndex
< firstCell.
ColumnIndex
) ||
2473
(spannedCell.
ColumnIndex
> lastCell.
ColumnIndex
))
2520
int startColumn = cell.
ColumnIndex
;
2538
(firstCell == null || firstCell.
ColumnIndex
>= leftColumn && firstCell.
ColumnIndex
+ firstCell.ColumnSpan - 1 <= rightColumn) && //
2539
(lastCell == null || lastCell.
ColumnIndex
>= leftColumn && lastCell.
ColumnIndex
+ lastCell.ColumnSpan - 1 <= rightColumn);
2545
return cell.
ColumnIndex
+ cell.ColumnSpan == cell.Table.ColumnCount;
System\windows\Documents\TextSelection.cs (3)
1062
nextCell = FindCellAtColumnIndex(rowGroup.Rows[nextRowIndex].Cells, movingCell.
ColumnIndex
);
1071
nextCell = FindCellAtColumnIndex(rowGroup.Rows[nextRowIndex].Cells, movingCell.
ColumnIndex
);
2524
startColumnIndex = cell.
ColumnIndex
;