Inheritance: System.EventArgs
Example #1
0
 protected virtual void OnNavigateToUrl(NavigateToUrlEventArgs e)
 {
     if (navigateToUrl != null)
     {
         navigateToUrl(this, e);
     }
 }
Example #2
0
            public bool OnNavigateToUrl(string url)
            {
                var args = new NavigateToUrlEventArgs(new Uri(url));

                ((WebView)Parent).OnNavigateToUrl(args);
                return(args.Handled);
            }
Example #3
0
            public bool OnNavigateToUrl(string url)
            {
                var args = new NavigateToUrlEventArgs(new Uri(url, UriKind.RelativeOrAbsolute));

                ((WebView)Parent).OnNavigateToUrl(args);
                return(args.Handled);
            }
Example #4
0
        protected virtual void OnNavigateToUrl(NavigateToUrlEventArgs e)
        {
            if (navigateToUrl != null)
            {
                navigateToUrl(this, e);
            }

            // this method checks for e.Handled
            Application.EngineBackend.ShowWebBrowser(e);
        }
Example #5
0
        protected virtual void OnNavigateToUrl(NavigateToUrlEventArgs e)
        {
            if (navigateToUrl != null)
            {
                navigateToUrl(this, e);
            }

            if (!e.Handled)
            {
                Application.EngineBackend.ShowWebBrowser(e);
            }
        }
Example #6
0
        protected virtual void OnNavigateToUrl(NavigateToUrlEventArgs e)
        {
            if (navigateToUrl != null)
            {
                navigateToUrl(this, e);
            }

            if (!e.Handled && e.Uri != null)
            {
                Desktop.OpenUrl(e.Uri);
                e.SetHandled();
            }
        }
Example #7
0
 static void DummyHandleNavigateToUrl(object sender, NavigateToUrlEventArgs e)
 {
 }
Example #8
0
        protected virtual void OnNavigateToUrl(NavigateToUrlEventArgs e)
        {
            if (navigateToUrl != null)
                navigateToUrl (this, e);

            if (!e.Handled)
                Application.EngineBackend.ShowWebBrowser (e);
        }
Example #9
0
        protected virtual void OnNavigateToUrl(NavigateToUrlEventArgs e)
        {
            if (navigateToUrl != null)
                navigateToUrl (this, e);

            if (!e.Handled && e.Uri != null) {
                Desktop.OpenUrl (e.Uri);
                e.SetHandled ();
            }
        }
Example #10
0
			public bool OnNavigateToUrl (string url)
			{
				var args = new NavigateToUrlEventArgs (new Uri(url, UriKind.RelativeOrAbsolute));
				((WebView)Parent).OnNavigateToUrl (args);
				return args.Handled;
			}
Example #11
0
		protected virtual void OnNavigateToUrl (NavigateToUrlEventArgs e)
		{
			if (navigateToUrl != null)
				navigateToUrl (this, e);
		}
Example #12
0
 void HandleNavigateToUrl(object sender, NavigateToUrlEventArgs e)
 {
     ApplicationContext.InvokeUserCode (delegate {
         ((IRichTextViewEventSink)EventSink).OnNavigateToUrl (e.Uri);
     });
 }
Example #13
0
 void HandleNavigateToUrl(object sender, NavigateToUrlEventArgs e)
 {
     if (NavigateToUrlEnabled) {
         ((IRichTextViewEventSink) EventSink).OnNavigateToUrl (e.Uri);
         e.SetHandled ();
     }
 }
Example #14
0
		static void DummyHandleNavigateToUrl (object sender, NavigateToUrlEventArgs e)
		{
		}
Example #15
0
        protected virtual void OnNavigateToUrl(NavigateToUrlEventArgs e)
        {
            if (navigateToUrl != null)
                navigateToUrl (this, e);

            // this method checks for e.Handled
            BackendHost.EngineBackend.ShowWebBrowser (e);
        }