1 write to _documentPaginator
PresentationFramework (1)
MS\Internal\Documents\PageCache.cs (1)
91
_documentPaginator
= value;
26 references to _documentPaginator
PresentationFramework (26)
MS\Internal\Documents\PageCache.cs (26)
69
if (
_documentPaginator
!= value)
79
if (
_documentPaginator
!= null)
81
_documentPaginator
.PagesChanged -= new PagesChangedEventHandler(OnPagesChanged);
82
_documentPaginator
.GetPageCompleted -= new GetPageCompletedEventHandler(OnGetPageCompleted);
83
_documentPaginator
.PaginationProgress -= new PaginationProgressEventHandler(OnPaginationProgress);
84
_documentPaginator
.PaginationCompleted -= new EventHandler(OnPaginationCompleted);
87
_documentPaginator
.IsBackgroundPaginationEnabled = _originalIsBackgroundPaginationEnabled;
97
if (
_documentPaginator
!= null)
99
_documentPaginator
.PagesChanged += new PagesChangedEventHandler(OnPagesChanged);
100
_documentPaginator
.GetPageCompleted += new GetPageCompletedEventHandler(OnGetPageCompleted);
101
_documentPaginator
.PaginationProgress += new PaginationProgressEventHandler(OnPaginationProgress);
102
_documentPaginator
.PaginationCompleted += new EventHandler(OnPaginationCompleted);
105
_documentPaginator
.PageSize = _defaultPageSize;
108
_originalIsBackgroundPaginationEnabled =
_documentPaginator
.IsBackgroundPaginationEnabled;
112
_documentPaginator
.IsBackgroundPaginationEnabled = true;
121
if (
_documentPaginator
.Source is DependencyObject)
123
FlowDirection flowDirection = (FlowDirection)((DependencyObject)
_documentPaginator
.Source).GetValue(FrameworkElement.FlowDirectionProperty);
138
if (
_documentPaginator
!= null)
140
if (
_documentPaginator
.PageCount > 0)
142
OnPaginationProgress(
_documentPaginator
,
143
new PaginationProgressEventArgs(0,
_documentPaginator
.PageCount));
146
if (
_documentPaginator
.IsPageCountValid)
148
OnPaginationCompleted(
_documentPaginator
, EventArgs.Empty);
156
return
_documentPaginator
;
422
int pageCount =
_documentPaginator
!= null ?
_documentPaginator
.PageCount : 0;