Label with HTML Text Formatting for Windows?
I have it for other technologies but don't know how to do it for UWP, help, thanks in advance...
Seems there isn't a such, and free, control, for Xamarin Forms.
Have you tried the Label.FormattedText option. Check out this thread.
I dont think the Span tag cannot be data bound though
@LuisRodriguez92 - It would seem from https://social.msdn.microsoft.com/Forums/en-US/9a233740-afe9-4a90-b0e5-8d2d20a0e815/uwpdisplay-text-using-html-language-into-textblock-or-richtextblock-using-xaml-and-c?forum=wpdevelop that UWP does not provide a way of showing HTML formatted content in a TextBlock. Their advice is to use a WebView.
However, if you want to build a custom Label renderer for UWP, that handles a limited amount of HTML, you could adapt http://www.visuallylocated.com/post/2015/01/16/Displaying-HTML-content-in-a-TextBlock.aspx . Alternatively, you could adapt that same code to populate Spans in a FormattedString, used to populate Label.FormattedText
Answers
Seems there isn't a such, and free, control, for Xamarin Forms.
Have you tried the Label.FormattedText option. Check out this thread.
I dont think the Span tag cannot be data bound though
@LuisRodriguez92 - It would seem from https://social.msdn.microsoft.com/Forums/en-US/9a233740-afe9-4a90-b0e5-8d2d20a0e815/uwpdisplay-text-using-html-language-into-textblock-or-richtextblock-using-xaml-and-c?forum=wpdevelop that UWP does not provide a way of showing HTML formatted content in a TextBlock. Their advice is to use a WebView.
However, if you want to build a custom Label renderer for UWP, that handles a limited amount of HTML, you could adapt http://www.visuallylocated.com/post/2015/01/16/Displaying-HTML-content-in-a-TextBlock.aspx . Alternatively, you could adapt that same code to populate Spans in a FormattedString, used to populate Label.FormattedText