1 write to Index
PresentationFramework (1)
System\Windows\Documents\TableCell.cs (1)
330
set { this.
Index
= value; }
27 references to Index
PresentationFramework (27)
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,
System\Windows\Documents\TableCell.cs (1)
329
get { return this.
Index
; }
System\Windows\Documents\TextRangeEditTables.cs (23)
365
Invariant.Assert(segmentStartCell.
Index
<= segmentEndCell.
Index
, "Index of segmentStartCell must be <= index of segentEndCell");
457
(movingCell.Row == anchorCell.Row && movingCell.
Index
+ 1 == anchorCell.
Index
||
458
anchorCell.
Index
== 0 && movingCell.
Index
== movingCell.Row.Cells.Count - 1 && movingCell.Row.Index + 1 == anchorCell.Row.Index))
471
if (movingCell.
Index
+ 1 < cells.Count)
474
movingCell = cells[movingCell.
Index
+ 1];
499
if (movingCell.
Index
> 0)
501
movingCell = cells[movingCell.
Index
- 1];
1906
int startCellIndex = startCell.
Index
;
1987
Invariant.Assert(startCell.
Index
<= endCell.
Index
, "insed of a startCell mustbe <= an index of an endCell");
2094
movingCell.
Index
> 0)
2098
movingCell = movingCell.Row.Cells[movingCell.
Index
- 1];
2456
row.Cells.RemoveRange(firstCell.
Index
+ 1, lastCell.
Index
- firstCell.
Index
+ 1 - 1);
2464
if (firstCell.
Index
== 0 && lastCell.
Index
== lastCell.Row.Cells.Count - 1)
2495
row.Cells.RemoveRange(firstCell.
Index
, lastCell.
Index
- firstCell.
Index
+ 1);