protected virtual void OnCustomSchemeClick(CustomSchemeEventArgs e)
 {
     if (CustomSchemeClick != null)
     {
         CustomSchemeClick(this, new CustomSchemeEventArgs(NavigateUri));
     }
 }
        protected override void OnClick()
        {
            if (NavigateUri != null && NavigateUri.IsAbsoluteUri)
            {
                string scheme = NavigateUri.Scheme.ToLower();

                if (CustomSchemes != null && CustomSchemes.ToLower().Contains(scheme))
                {
                    var e = new CustomSchemeEventArgs(NavigateUri);
                    OnCustomSchemeClick(e);
                    if (e.Handled)
                    {
                        return;
                    }
                }
            }
            base.OnClick();
        }
Beispiel #3
0
        protected override void OnClick()
        {
            if (NavigateUri != null && NavigateUri.IsAbsoluteUri)
            {
                string scheme = NavigateUri.Scheme.ToLower();

                if (CustomSchemes != null && CustomSchemes.ToLower().Contains(scheme))
                {
                    var e = new CustomSchemeEventArgs(NavigateUri);
                    OnCustomSchemeClick(e);
                    if (e.Handled)
                    {
                        return;
                    }
                }
            }
            base.OnClick();
        }
Beispiel #4
0
 protected virtual void OnCustomSchemeClick(CustomSchemeEventArgs e)
 {
     if (CustomSchemeClick != null)
     {
         CustomSchemeClick(this, new CustomSchemeEventArgs(NavigateUri));
     }
 }