private void FormsDoGotoAction(object sender, DoGotoActionEventArgs e) { OnFormsDoGotoAction(e); }
/// <summary> /// Called by the engine when it is required to execute a GoTo action /// </summary> /// <param name="e">An <see cref="DoGotoActionEventArgs"/> that contains the event data.</param> protected virtual void OnFormsDoGotoAction(DoGotoActionEventArgs e) { if (Document == null) _onstartPageIndex = e.PageIndex; else { SetCurrentPage(e.PageIndex); ScrollToPage(e.PageIndex); } }