Пример #1
0
        /// <summary>
        /// Propagate the image load event from root container.
        /// </summary>
        protected virtual void OnImageLoad(HtmlImageLoadEventArgs e)
        {
            RoutedEventArgs newEventArgs = new RoutedEvenArgs <HtmlImageLoadEventArgs>(ImageLoadEvent, this, e);

            RaiseEvent(newEventArgs);
        }
Пример #2
0
        /// <summary>
        /// Propagate the stylesheet load event from root container.
        /// </summary>
        protected virtual void OnStylesheetLoad(HtmlStylesheetLoadEventArgs e)
        {
            RoutedEventArgs newEventArgs = new RoutedEvenArgs <HtmlStylesheetLoadEventArgs>(StylesheetLoadEvent, this, e);

            RaiseEvent(newEventArgs);
        }
Пример #3
0
        /// <summary>
        /// Propagate the LinkClicked event from root container.
        /// </summary>
        protected virtual void OnLinkClicked(HtmlLinkClickedEventArgs e)
        {
            RoutedEventArgs newEventArgs = new RoutedEvenArgs <HtmlLinkClickedEventArgs>(LinkClickedEvent, this, e);

            RaiseEvent(newEventArgs);
        }
Пример #4
0
        /// <summary>
        /// Propagate the Render Error event from root container.
        /// </summary>
        protected virtual void OnRenderError(HtmlRenderErrorEventArgs e)
        {
            RoutedEventArgs newEventArgs = new RoutedEvenArgs <HtmlRenderErrorEventArgs>(RenderErrorEvent, this, e);

            RaiseEvent(newEventArgs);
        }
Пример #5
0
        /// <summary>
        /// Propagate the LoadComplete event from root container.
        /// </summary>
        protected virtual void OnLoadComplete(EventArgs e)
        {
            RoutedEventArgs newEventArgs = new RoutedEvenArgs <EventArgs>(LoadCompleteEvent, this, e);

            RaiseEvent(newEventArgs);
        }