/// <summary> /// Override for subclasses that wish to add logic when this event is fired. /// </summary> /// <param name="e">Event arguments for the PaginationProgress event.</param> protected virtual void OnPaginationProgress(PaginationProgressEventArgs e) { if (this.PaginationProgress != null) { this.PaginationProgress(this, e); } }
// Token: 0x06002B90 RID: 11152 RVA: 0x000C6D88 File Offset: 0x000C4F88 private void _OnChildPaginationProgress(object sender, PaginationProgressEventArgs args) { int start; if (this._SynthesizeGlobalPageNumber((DynamicDocumentPaginator)sender, args.Start, out start)) { this._paginator.NotifyPaginationProgress(new PaginationProgressEventArgs(start, args.Count)); } }
private void _OnChildPaginationProgress(object sender, PaginationProgressEventArgs args) { DocumentsTrace.FixedDocumentSequence.IDF.Trace(string.Format("_OnChildPaginationProgress")); int pageNumber; if (_SynthesizeGlobalPageNumber((DynamicDocumentPaginator)sender, args.Start, out pageNumber)) { _paginator.NotifyPaginationProgress(new PaginationProgressEventArgs(pageNumber, args.Count)); } }
internal void NotifyPaginationProgress(PaginationProgressEventArgs e) { OnPaginationProgress(e); }
//------------------------------------------------------ // // Private Methods // //------------------------------------------------------ #region Private Methods /// <summary> /// Handler for the OnPaginationProgress event fired by the DocumentPaginator. /// </summary> /// <param name="sender"></param> /// <param name="args"></param> private void OnPaginationProgress(object sender, PaginationProgressEventArgs args) { //Since handling the PaginationProgress event entails a bit of work, we'll //have our dispatcher call the PaginationProgress event at Normal priority. Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(PaginationProgressDelegate), args); }
protected virtual new void OnPaginationProgress(PaginationProgressEventArgs e) { }