Is it possible to set css to the webbrowser? If yes, than how Can I do this?
Let's say I have a class with 2 properties:
public String Css
and public XElement Body
I want to bind the body to a webbrowser and set the css of that webbrowser.
Is this possible and how should I do this?
您可以使用<style>
标记组装包含完整HTML的字符串,然后将DocumentText
属性设置为该字符串。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.