Question: Is there a way to make the button behave like a hyperlink inside a user control?
I have been looking around for several days and have not found anyone to address this. How do you use the button to navigate in a WPF application? In particular, how do you make a button inside a user control, move it in the main frame? Remember that user controls do not have direct access to the host file. so simple:
this.NavigationService.Navigate(new Uri(this.addressTextBox.Text));
will not work. I use custom controls. If you use only pages, this is the answer you are looking for, if you use UserControls, see my answer below.
source
share