1 write to _rowCache
PresentationFramework (1)
src\Framework\MS\Internal\Documents\RowCache.cs (1)
44
_rowCache
= new List<RowInfo>(_defaultRowCacheSize);
52 references to _rowCache
PresentationFramework (52)
src\Framework\MS\Internal\Documents\RowCache.cs (52)
66
_rowCache
.Clear();
102
return
_rowCache
.Count;
254
if (index < 0 || index >
_rowCache
.Count)
259
return
_rowCache
[index];
275
return
_rowCache
[GetRowIndexForPageNumber(pageNumber)];
295
for (int i = 0; i <
_rowCache
.Count; i++)
297
RowInfo rowInfo =
_rowCache
[i];
324
if (
_rowCache
.Count == 0)
338
for(int i=0;i<
_rowCache
.Count;i++)
340
double rowOffset = Math.Round(
_rowCache
[i].VerticalOffset, _findOffsetPrecision);
341
double rowHeight = Math.Round(
_rowCache
[i].RowSize.Height, _findOffsetPrecision);
366
i ==
_rowCache
.Count - 1)
388
return
_rowCache
.Count - 1;
394
return
_rowCache
.Count - 1;
423
if (
_rowCache
.Count == 0)
440
for (int i = startRowIndex + 1; i <
_rowCache
.Count; i++)
442
double rowOffset = Math.Round(
_rowCache
[i].VerticalOffset, _findOffsetPrecision);
476
for (int i = 0; i <
_rowCache
.Count; i++)
479
RowInfo currentRow =
_rowCache
[i];
498
_rowCache
[i] = currentRow;
503
changes.Add(new RowCacheChange(0,
_rowCache
.Count));
601
changes.Add(new RowCacheChange(0,
_rowCache
.Count));
626
if (
_rowCache
.Count == 0)
634
RowInfo lastRow =
_rowCache
[
_rowCache
.Count-1];
691
_rowCache
.Clear();
726
pivotRowIndex =
_rowCache
.Count;
850
_rowCache
.Clear();
934
RowInfo lastRow =
_rowCache
[
_rowCache
.Count - 1];
965
startRow =
_rowCache
.Count - 1;
971
startRow =
_rowCache
.Count;
1010
if (
_rowCache
.Count == 0)
1020
RowInfo lastRow =
_rowCache
[
_rowCache
.Count - 1];
1033
_rowCache
.Add(newRow);
1057
while (currentPage < startPage + count && rowIndex <
_rowCache
.Count)
1060
RowInfo currentRow =
_rowCache
[rowIndex];
1105
if (index >
_rowCache
.Count)
1112
RowInfo oldRowInfo =
_rowCache
[index];
1115
_rowCache
[index] = newRow;
1123
for(int i = index + 1; i <
_rowCache
.Count; i++)
1125
RowInfo row =
_rowCache
[i];
1127
_rowCache
[i] = row;
1150
for (int i = 0; i <
_rowCache
.Count; i++)
1152
RowInfo row =
_rowCache
[i];
1192
int removeCount =
_rowCache
.Count - rowIndex;
1195
if(rowIndex <
_rowCache
.Count )
1197
_rowCache
.RemoveRange( rowIndex, removeCount);
1307
if (
_rowCache
.Count <= 1)
1311
if (
_rowCache
.Count == 0 ||
_rowCache
[0].PageCount < _layoutColumns )