Display HTML content in a Silverlight application

In one of our applications, you need to display a list of tokens in one of the Silverlight 2.0 containers. We decided to use HTML markup text for the same. Although Google has many options, such as overlaying an HTML container, etc., I would like to know what is the most efficient way to do this.

+3
source share
3 answers

I think it’s easiest to use a third party decision. For example, Telerik has an HtmlPlaceholder that allows you to display html pages in a Silverlight application. Here you can see the demo: http://demos.telerik.com/silverlight/#HtmlPlaceholder/FirstLook

Here is how you can use it:

<Grid>
    <telerik:RadHtmlPlaceholder SourceUrl="http://google.com" />
</Grid>
+6
source

It seems like a lot of problems displays a bulleted list, you can do it in your own Silverlight

http://www.codeproject.com/KB/silverlight/OrderedList_Silverlight.aspx

Otherwise, you can do this:

Mix HTML and Silverlight Controls

This is what I think you are talking about in your question

+1
source

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


All Articles