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();
887
RowInfo lastRow =
_rowCache
[
_rowCache
.Count - 1];
918
startRow =
_rowCache
.Count - 1;
924
startRow =
_rowCache
.Count;
964
if (
_rowCache
.Count == 0)
974
RowInfo lastRow =
_rowCache
[
_rowCache
.Count - 1];
987
_rowCache
.Add(newRow);
1011
while (currentPage < startPage + count && rowIndex <
_rowCache
.Count)
1014
RowInfo currentRow =
_rowCache
[rowIndex];
1061
if (index >
_rowCache
.Count)
1068
RowInfo oldRowInfo =
_rowCache
[index];
1071
_rowCache
[index] = newRow;
1079
for (int i = index + 1; i <
_rowCache
.Count; i++)
1081
RowInfo row =
_rowCache
[i];
1083
_rowCache
[i] = row;
1106
for (int i = 0; i <
_rowCache
.Count; i++)
1108
RowInfo row =
_rowCache
[i];
1150
int removeCount =
_rowCache
.Count - rowIndex;
1153
if (rowIndex <
_rowCache
.Count)
1155
_rowCache
.RemoveRange(rowIndex, removeCount);
1265
if (
_rowCache
.Count <= 1)
1269
if (
_rowCache
.Count == 0 ||
_rowCache
[0].PageCount < _layoutColumns)