How to connect to a webpage inside a WPF menu item?

I found some pretty long ways to do this, but I can't believe it is complicated. I want to create a hyperlink to a web page and make this link in WPF MenuItem.

The hyperlink should open perfectly in the default browser. IE would be fine on a pinch.

Any ideas?

+3
source share
1 answer

Use Process :

Process.Start("http://www.google.com");
+7
source

Source: https://habr.com/ru/post/1766196/


All Articles