开发者

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

开发者 https://www.devze.com 2023-03-11 03:42 出处:网络
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.

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

精彩评论

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