1 write to _rowCache
PresentationFramework (1)
MS\Internal\Documents\RowCache.cs (1)
30
_rowCache
= new List<RowInfo>(_defaultRowCacheSize);
52 references to _rowCache
PresentationFramework (52)
MS\Internal\Documents\RowCache.cs (52)
52
_rowCache
.Clear();
88
return
_rowCache
.Count;
241
ArgumentOutOfRangeException.ThrowIfGreaterThan(index,
_rowCache
.Count);
243
return
_rowCache
[index];
257
return
_rowCache
[GetRowIndexForPageNumber(pageNumber)];
275
for (int i = 0; i <
_rowCache
.Count; i++)
277
RowInfo rowInfo =
_rowCache
[i];
302
if (
_rowCache
.Count == 0)
316
for (int i = 0; i <
_rowCache
.Count; i++)
318
double rowOffset = Math.Round(
_rowCache
[i].VerticalOffset, _findOffsetPrecision);
319
double rowHeight = Math.Round(
_rowCache
[i].RowSize.Height, _findOffsetPrecision);
344
i ==
_rowCache
.Count - 1)
366
return
_rowCache
.Count - 1;
372
return
_rowCache
.Count - 1;
398
if (
_rowCache
.Count == 0)
415
for (int i = startRowIndex + 1; i <
_rowCache
.Count; i++)
417
double rowOffset = Math.Round(
_rowCache
[i].VerticalOffset, _findOffsetPrecision);
451
for (int i = 0; i <
_rowCache
.Count; i++)
454
RowInfo currentRow =
_rowCache
[i];
473
_rowCache
[i] = currentRow;
478
changes.Add(new RowCacheChange(0,
_rowCache
.Count));
571
changes.Add(new RowCacheChange(0,
_rowCache
.Count));
595
if (
_rowCache
.Count == 0)
603
RowInfo lastRow =
_rowCache
[
_rowCache
.Count - 1];
655
_rowCache
.Clear();
690
pivotRowIndex =
_rowCache
.Count;
806
_rowCache
.Clear();
886
RowInfo lastRow =
_rowCache
[
_rowCache
.Count - 1];
917
startRow =
_rowCache
.Count - 1;
923
startRow =
_rowCache
.Count;
963
if (
_rowCache
.Count == 0)
973
RowInfo lastRow =
_rowCache
[
_rowCache
.Count - 1];
986
_rowCache
.Add(newRow);
1010
while (currentPage < startPage + count && rowIndex <
_rowCache
.Count)
1013
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];
1149
int removeCount =
_rowCache
.Count - rowIndex;
1152
if (rowIndex <
_rowCache
.Count)
1154
_rowCache
.RemoveRange(rowIndex, removeCount);
1264
if (
_rowCache
.Count <= 1)
1268
if (
_rowCache
.Count == 0 ||
_rowCache
[0].PageCount < _layoutColumns)