コード例 #1
0
        /// <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);
            }
        }
コード例 #2
0
 /// <summary>
 /// Raises the page closed event.
 /// </summary>
 public void OnPageClosed(DocumentControl widget, DocumentPageEventArgs e)
 {
     using (widget.Platform.Context)
         widget.OnPageClosed(e);
 }