Пример #1
0
 protected virtual void OnNavigateToUrl(NavigateToUrlEventArgs e)
 {
     if (navigateToUrl != null)
     {
         navigateToUrl(this, e);
     }
 }
Пример #2
0
            public bool OnNavigateToUrl(string url)
            {
                var args = new NavigateToUrlEventArgs(new Uri(url));

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

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

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

            if (!e.Handled)
            {
                Application.EngineBackend.ShowWebBrowser(e);
            }
        }
Пример #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();
            }
        }
Пример #7
0
 static void DummyHandleNavigateToUrl(object sender, NavigateToUrlEventArgs e)
 {
 }
Пример #8
0
        protected virtual void OnNavigateToUrl(NavigateToUrlEventArgs e)
        {
            if (navigateToUrl != null)
                navigateToUrl (this, e);

            if (!e.Handled)
                Application.EngineBackend.ShowWebBrowser (e);
        }
Пример #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 ();
            }
        }
Пример #10
0
			public bool OnNavigateToUrl (string url)
			{
				var args = new NavigateToUrlEventArgs (new Uri(url, UriKind.RelativeOrAbsolute));
				((WebView)Parent).OnNavigateToUrl (args);
				return args.Handled;
			}
Пример #11
0
		protected virtual void OnNavigateToUrl (NavigateToUrlEventArgs e)
		{
			if (navigateToUrl != null)
				navigateToUrl (this, e);
		}
Пример #12
0
 void HandleNavigateToUrl(object sender, NavigateToUrlEventArgs e)
 {
     ApplicationContext.InvokeUserCode (delegate {
         ((IRichTextViewEventSink)EventSink).OnNavigateToUrl (e.Uri);
     });
 }
Пример #13
0
 void HandleNavigateToUrl(object sender, NavigateToUrlEventArgs e)
 {
     if (NavigateToUrlEnabled) {
         ((IRichTextViewEventSink) EventSink).OnNavigateToUrl (e.Uri);
         e.SetHandled ();
     }
 }
Пример #14
0
		static void DummyHandleNavigateToUrl (object sender, NavigateToUrlEventArgs e)
		{
		}
Пример #15
0
        protected virtual void OnNavigateToUrl(NavigateToUrlEventArgs e)
        {
            if (navigateToUrl != null)
                navigateToUrl (this, e);

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