1 write to _rowCache
PresentationFramework (1)
MS\Internal\Documents\RowCache.cs (1)
36
_rowCache
= new List<RowInfo>(_defaultRowCacheSize);
52 references to _rowCache
PresentationFramework (52)
MS\Internal\Documents\RowCache.cs (52)
58
_rowCache
.Clear();
94
return
_rowCache
.Count;
247
ArgumentOutOfRangeException.ThrowIfGreaterThan(index,
_rowCache
.Count);
249
return
_rowCache
[index];
263
return
_rowCache
[GetRowIndexForPageNumber(pageNumber)];
281
for (int i = 0; i <
_rowCache
.Count; i++)
283
RowInfo rowInfo =
_rowCache
[i];
308
if (
_rowCache
.Count == 0)
322
for (int i = 0; i <
_rowCache
.Count; i++)
324
double rowOffset = Math.Round(
_rowCache
[i].VerticalOffset, _findOffsetPrecision);
325
double rowHeight = Math.Round(
_rowCache
[i].RowSize.Height, _findOffsetPrecision);
350
i ==
_rowCache
.Count - 1)
372
return
_rowCache
.Count - 1;
378
return
_rowCache
.Count - 1;
404
if (
_rowCache
.Count == 0)
421
for (int i = startRowIndex + 1; i <
_rowCache
.Count; i++)
423
double rowOffset = Math.Round(
_rowCache
[i].VerticalOffset, _findOffsetPrecision);
457
for (int i = 0; i <
_rowCache
.Count; i++)
460
RowInfo currentRow =
_rowCache
[i];
479
_rowCache
[i] = currentRow;
484
changes.Add(new RowCacheChange(0,
_rowCache
.Count));
577
changes.Add(new RowCacheChange(0,
_rowCache
.Count));
601
if (
_rowCache
.Count == 0)
609
RowInfo lastRow =
_rowCache
[
_rowCache
.Count - 1];
661
_rowCache
.Clear();
696
pivotRowIndex =
_rowCache
.Count;
812
_rowCache
.Clear();
890
RowInfo lastRow =
_rowCache
[
_rowCache
.Count - 1];
921
startRow =
_rowCache
.Count - 1;
927
startRow =
_rowCache
.Count;
965
if (
_rowCache
.Count == 0)
975
RowInfo lastRow =
_rowCache
[
_rowCache
.Count - 1];
988
_rowCache
.Add(newRow);
1012
while (currentPage < startPage + count && rowIndex <
_rowCache
.Count)
1015
RowInfo currentRow =
_rowCache
[rowIndex];
1060
if (index >
_rowCache
.Count)
1067
RowInfo oldRowInfo =
_rowCache
[index];
1070
_rowCache
[index] = newRow;
1078
for (int i = index + 1; i <
_rowCache
.Count; i++)
1080
RowInfo row =
_rowCache
[i];
1082
_rowCache
[i] = row;
1105
for (int i = 0; i <
_rowCache
.Count; i++)
1107
RowInfo row =
_rowCache
[i];
1147
int removeCount =
_rowCache
.Count - rowIndex;
1150
if (rowIndex <
_rowCache
.Count)
1152
_rowCache
.RemoveRange(rowIndex, removeCount);
1262
if (
_rowCache
.Count <= 1)
1266
if (
_rowCache
.Count == 0 ||
_rowCache
[0].PageCount < _layoutColumns)