/// <summary> /// Raises the <see cref="PageClosed"/> event. /// </summary> /// <param name="e">Event arguments.</param> protected virtual void OnPageClosed(DocumentPageEventArgs e) { Properties.TriggerEvent(PageClosedEvent, this, e); var page = e.Page; if (page != null) { page.TriggerClose(e); } }
/// <summary> /// Raises the page closed event. /// </summary> public void OnPageClosed(DocumentControl widget, DocumentPageEventArgs e) { using (widget.Platform.Context) widget.OnPageClosed(e); }