Quantcast
Channel: User Liyun Zhang - MSFT - Stack Overflow
Viewing all articles
Browse latest Browse all 446

Answer by Liyun Zhang - MSFT for how to implement similar inner HTML functionality in Xamarin

$
0
0

First of all, you can read the official document about the Hyperlinks for the Xamarin Label. It show the details steps to display the hyperlink in the xamarin.

You can use the Label and the Span to display the text as a hyperlink. And then you can use TapGestureRecognizer to deal with the hyperlink clicked event:

  1. If it is a web url, you can use Launcher.OpenAsync(Url) to open it in the browser app.
  2. If it is an embedded html file, you can renderer it with the webview.

Viewing all articles
Browse latest Browse all 446

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>