1 write to _pageCache
PresentationFramework (1)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
2533
_pageCache
= new PageCache();
28 references to _pageCache
PresentationFramework (28)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (28)
343
else if (pageNumber >=
_pageCache
.PageCount || _rowCache.RowCount == 0)
346
if (
_pageCache
.IsPaginationCompleted && _rowCache.HasValidLayout)
694
return
_pageCache
.Content;
700
if (value !=
_pageCache
.Content)
706
if (
_pageCache
.Content != null)
708
_pageCache
.Content.GetPageNumberCompleted -= new GetPageNumberCompletedEventHandler(OnGetPageNumberCompleted);
719
_pageCache
.Content = value;
721
if (
_pageCache
.Content != null)
724
_pageCache
.Content.GetPageNumberCompleted += new GetPageNumberCompletedEventHandler(OnGetPageNumberCompleted);
775
return
_pageCache
.PageCount;
1104
Size pageSize =
_pageCache
.GetPageSize(page.PageNumber);
1119
Size newPageSize =
_pageCache
.GetPageSize(page.PageNumber);
1155
if (_firstVisiblePageNumber <
_pageCache
.PageCount && _rowCache.HasValidLayout)
1234
Size pageSize =
_pageCache
.GetPageSize(page);
1246
if (
_pageCache
.IsContentRightToLeft)
1644
if (row == _rowCache.RowCount -1 && !
_pageCache
.DynamicPageSizes)
2253
if (
_pageCache
.PageCount == 0)
2261
Size pageSize =
_pageCache
.GetPageSize(0);
2274
maxColumns = Math.Min(maxColumns,
_pageCache
.PageCount);
2286
int rows = (int)Math.Floor((double)(
_pageCache
.PageCount / columns));
2346
if (
_pageCache
.IsPageDirty(i))
2399
if (
_pageCache
.DynamicPageSizes)
2429
if (
_pageCache
.DynamicPageSizes)
2451
if (
_pageCache
.DynamicPageSizes)
2537
_rowCache.PageCache =
_pageCache
;
2748
double horizontalOffset =
_pageCache
.DynamicPageSizes ?
2754
Size pageSize =
_pageCache
.GetPageSize(i);
2982
if (
_pageCache
.DynamicPageSizes &&