1 write to _rowCache
PresentationFramework (1)
MS\Internal\Documents\RowCache.cs (1)
31
_rowCache
= new List<RowInfo>(_defaultRowCacheSize);
52 references to _rowCache
PresentationFramework (52)
MS\Internal\Documents\RowCache.cs (52)
53
_rowCache
.Clear();
89
return
_rowCache
.Count;
242
ArgumentOutOfRangeException.ThrowIfGreaterThan(index,
_rowCache
.Count);
244
return
_rowCache
[index];
258
return
_rowCache
[GetRowIndexForPageNumber(pageNumber)];
276
for (int i = 0; i <
_rowCache
.Count; i++)
278
RowInfo rowInfo =
_rowCache
[i];
303
if (
_rowCache
.Count == 0)
317
for (int i = 0; i <
_rowCache
.Count; i++)
319
double rowOffset = Math.Round(
_rowCache
[i].VerticalOffset, _findOffsetPrecision);
320
double rowHeight = Math.Round(
_rowCache
[i].RowSize.Height, _findOffsetPrecision);
345
i ==
_rowCache
.Count - 1)
367
return
_rowCache
.Count - 1;
373
return
_rowCache
.Count - 1;
399
if (
_rowCache
.Count == 0)
416
for (int i = startRowIndex + 1; i <
_rowCache
.Count; i++)
418
double rowOffset = Math.Round(
_rowCache
[i].VerticalOffset, _findOffsetPrecision);
452
for (int i = 0; i <
_rowCache
.Count; i++)
455
RowInfo currentRow =
_rowCache
[i];
474
_rowCache
[i] = currentRow;
479
changes.Add(new RowCacheChange(0,
_rowCache
.Count));
572
changes.Add(new RowCacheChange(0,
_rowCache
.Count));
596
if (
_rowCache
.Count == 0)
604
RowInfo lastRow =
_rowCache
[
_rowCache
.Count - 1];
656
_rowCache
.Clear();
691
pivotRowIndex =
_rowCache
.Count;
807
_rowCache
.Clear();
885
RowInfo lastRow =
_rowCache
[
_rowCache
.Count - 1];
916
startRow =
_rowCache
.Count - 1;
922
startRow =
_rowCache
.Count;
960
if (
_rowCache
.Count == 0)
970
RowInfo lastRow =
_rowCache
[
_rowCache
.Count - 1];
983
_rowCache
.Add(newRow);
1007
while (currentPage < startPage + count && rowIndex <
_rowCache
.Count)
1010
RowInfo currentRow =
_rowCache
[rowIndex];
1055
if (index >
_rowCache
.Count)
1062
RowInfo oldRowInfo =
_rowCache
[index];
1065
_rowCache
[index] = newRow;
1073
for (int i = index + 1; i <
_rowCache
.Count; i++)
1075
RowInfo row =
_rowCache
[i];
1077
_rowCache
[i] = row;
1100
for (int i = 0; i <
_rowCache
.Count; i++)
1102
RowInfo row =
_rowCache
[i];
1142
int removeCount =
_rowCache
.Count - rowIndex;
1145
if (rowIndex <
_rowCache
.Count)
1147
_rowCache
.RemoveRange(rowIndex, removeCount);
1257
if (
_rowCache
.Count <= 1)
1261
if (
_rowCache
.Count == 0 ||
_rowCache
[0].PageCount < _layoutColumns)