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)
65if (_documentPaginator != value) 75if (_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; 93if (_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; 117if (_documentPaginator.Source is DependencyObject) 119FlowDirection flowDirection = (FlowDirection)((DependencyObject)_documentPaginator.Source).GetValue(FrameworkElement.FlowDirectionProperty); 134if (_documentPaginator != null) 136if (_documentPaginator.PageCount > 0) 138OnPaginationProgress(_documentPaginator, 139new PaginationProgressEventArgs(0, _documentPaginator.PageCount)); 142if (_documentPaginator.IsPageCountValid) 144OnPaginationCompleted(_documentPaginator, EventArgs.Empty); 152return _documentPaginator; 418int pageCount = _documentPaginator != null ? _documentPaginator.PageCount : 0;