开发者

How can I use HTML tags inside of a WPF application?

I have some application in which some part of it should render HTM开发者_如何转开发L tags like br, strong and img (local image files) and show them exactly like in a modern browser.

Can I create a dynamic HTML page and load it into a browser control or is there any faster way of doing that?


Either use a browser control (but consider you might need to lock this down to prevent images, script, ... being loaded and used).

Or, if it is a simple enough subset of HTML, transform into a XAML flow document.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜