1 write to _documentPaginator
PresentationFramework (1)
MS\Internal\Documents\PageCache.cs (1)
86
_documentPaginator
= value;
26 references to _documentPaginator
PresentationFramework (26)
MS\Internal\Documents\PageCache.cs (26)
64
if (
_documentPaginator
!= value)
74
if (
_documentPaginator
!= null)
76
_documentPaginator
.PagesChanged -= new PagesChangedEventHandler(OnPagesChanged);
77
_documentPaginator
.GetPageCompleted -= new GetPageCompletedEventHandler(OnGetPageCompleted);
78
_documentPaginator
.PaginationProgress -= new PaginationProgressEventHandler(OnPaginationProgress);
79
_documentPaginator
.PaginationCompleted -= new EventHandler(OnPaginationCompleted);
82
_documentPaginator
.IsBackgroundPaginationEnabled = _originalIsBackgroundPaginationEnabled;
92
if (
_documentPaginator
!= null)
94
_documentPaginator
.PagesChanged += new PagesChangedEventHandler(OnPagesChanged);
95
_documentPaginator
.GetPageCompleted += new GetPageCompletedEventHandler(OnGetPageCompleted);
96
_documentPaginator
.PaginationProgress += new PaginationProgressEventHandler(OnPaginationProgress);
97
_documentPaginator
.PaginationCompleted += new EventHandler(OnPaginationCompleted);
100
_documentPaginator
.PageSize = _defaultPageSize;
103
_originalIsBackgroundPaginationEnabled =
_documentPaginator
.IsBackgroundPaginationEnabled;
107
_documentPaginator
.IsBackgroundPaginationEnabled = true;
116
if (
_documentPaginator
.Source is DependencyObject)
118
FlowDirection flowDirection = (FlowDirection)((DependencyObject)
_documentPaginator
.Source).GetValue(FrameworkElement.FlowDirectionProperty);
133
if (
_documentPaginator
!= null)
135
if (
_documentPaginator
.PageCount > 0)
137
OnPaginationProgress(
_documentPaginator
,
138
new PaginationProgressEventArgs(0,
_documentPaginator
.PageCount));
141
if (
_documentPaginator
.IsPageCountValid)
143
OnPaginationCompleted(
_documentPaginator
, EventArgs.Empty);
151
return
_documentPaginator
;
417
int pageCount =
_documentPaginator
!= null ?
_documentPaginator
.PageCount : 0;