How to make a simple hyperlink in XAML?

后端 未结 8 1232
轻奢々
轻奢々 2020-12-08 02:03

All I want to do is make a little hyperlink in XAML. I\'ve tried everything. I give up.

What is the syntax for this?



        
8条回答
  •  再見小時候
    2020-12-08 03:10

    Usually, the meaning of an Hyperlink is to give an anchor to send the user to another Page or generally speaking to another resource, so it's implemented in such a way and you have to specify the location for that resource like this:

    
       Web Site
    
    

    However, i've found this blog post with a custom TextBlock that is used as an HyperLink and supports click events.

提交回复
热议问题