1 write to _documentPaginator
PresentationFramework (1)
MS\Internal\Documents\PageCache.cs (1)
87
_documentPaginator
= value;
26 references to _documentPaginator
PresentationFramework (26)
MS\Internal\Documents\PageCache.cs (26)
65
if (
_documentPaginator
!= value)
75
if (
_documentPaginator
!= null)
77
_documentPaginator
.PagesChanged -= new PagesChangedEventHandler(OnPagesChanged);
78
_documentPaginator
.GetPageCompleted -= new GetPageCompletedEventHandler(OnGetPageCompleted);
79
_documentPaginator
.PaginationProgress -= new PaginationProgressEventHandler(OnPaginationProgress);
80
_documentPaginator
.PaginationCompleted -= new EventHandler(OnPaginationCompleted);
83
_documentPaginator
.IsBackgroundPaginationEnabled = _originalIsBackgroundPaginationEnabled;
93
if (
_documentPaginator
!= null)
95
_documentPaginator
.PagesChanged += new PagesChangedEventHandler(OnPagesChanged);
96
_documentPaginator
.GetPageCompleted += new GetPageCompletedEventHandler(OnGetPageCompleted);
97
_documentPaginator
.PaginationProgress += new PaginationProgressEventHandler(OnPaginationProgress);
98
_documentPaginator
.PaginationCompleted += new EventHandler(OnPaginationCompleted);
101
_documentPaginator
.PageSize = _defaultPageSize;
104
_originalIsBackgroundPaginationEnabled =
_documentPaginator
.IsBackgroundPaginationEnabled;
108
_documentPaginator
.IsBackgroundPaginationEnabled = true;
117
if (
_documentPaginator
.Source is DependencyObject)
119
FlowDirection flowDirection = (FlowDirection)((DependencyObject)
_documentPaginator
.Source).GetValue(FrameworkElement.FlowDirectionProperty);
134
if (
_documentPaginator
!= null)
136
if (
_documentPaginator
.PageCount > 0)
138
OnPaginationProgress(
_documentPaginator
,
139
new PaginationProgressEventArgs(0,
_documentPaginator
.PageCount));
142
if (
_documentPaginator
.IsPageCountValid)
144
OnPaginationCompleted(
_documentPaginator
, EventArgs.Empty);
152
return
_documentPaginator
;
418
int pageCount =
_documentPaginator
!= null ?
_documentPaginator
.PageCount : 0;