Navigate Behavior

Topics: Feature requests
Sep 29, 2012 at 11:23 AM

Hi Geert,

how about adding the following WPF Navigation Behavior for Hyperlinks because they only work correctly in pages:

   public class Navigate : Behavior<Hyperlink>
        protected override void OnAttached()
            this.AssociatedObject.RequestNavigate += this.AssociatedObjectRequestNavigate;

        protected override void OnDetaching()
            this.AssociatedObject.RequestNavigate -= this.AssociatedObjectRequestNavigate;

        private void AssociatedObjectRequestNavigate(object sender, RequestNavigateEventArgs e)
            var uri = this.AssociatedObject.NavigateUri;

            if (uri != null)


   <Hyperlink NavigateUri="">
            <catel:Navigate />

       <TextBlock Text="The best MVVM Framework" />

Many Thanks!


Sep 29, 2012 at 11:38 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.