1 write to _pageCache
PresentationFramework (1)
MS\Internal\Documents\DocumentGrid.cs (1)
2487
_pageCache
= new PageCache();
28 references to _pageCache
PresentationFramework (28)
MS\Internal\Documents\DocumentGrid.cs (28)
329
else if (pageNumber >=
_pageCache
.PageCount || _rowCache.RowCount == 0)
332
if (
_pageCache
.IsPaginationCompleted && _rowCache.HasValidLayout)
668
return
_pageCache
.Content;
674
if (value !=
_pageCache
.Content)
680
if (
_pageCache
.Content != null)
682
_pageCache
.Content.GetPageNumberCompleted -= new GetPageNumberCompletedEventHandler(OnGetPageNumberCompleted);
693
_pageCache
.Content = value;
695
if (
_pageCache
.Content != null)
698
_pageCache
.Content.GetPageNumberCompleted += new GetPageNumberCompletedEventHandler(OnGetPageNumberCompleted);
749
return
_pageCache
.PageCount;
1076
Size pageSize =
_pageCache
.GetPageSize(page.PageNumber);
1091
Size newPageSize =
_pageCache
.GetPageSize(page.PageNumber);
1126
if (_firstVisiblePageNumber <
_pageCache
.PageCount && _rowCache.HasValidLayout)
1203
Size pageSize =
_pageCache
.GetPageSize(page);
1215
if (
_pageCache
.IsContentRightToLeft)
1609
if (row == _rowCache.RowCount - 1 && !
_pageCache
.DynamicPageSizes)
2209
if (
_pageCache
.PageCount == 0)
2217
Size pageSize =
_pageCache
.GetPageSize(0);
2230
maxColumns = Math.Min(maxColumns,
_pageCache
.PageCount);
2242
int rows = (int)Math.Floor((double)(
_pageCache
.PageCount / columns));
2301
if (
_pageCache
.IsPageDirty(i))
2353
if (
_pageCache
.DynamicPageSizes)
2383
if (
_pageCache
.DynamicPageSizes)
2405
if (
_pageCache
.DynamicPageSizes)
2492
PageCache =
_pageCache
2696
double horizontalOffset =
_pageCache
.DynamicPageSizes ?
2702
Size pageSize =
_pageCache
.GetPageSize(i);
2928
if (
_pageCache
.DynamicPageSizes &&