Reputation: 103
I want to build a lightweight (wysiwyg) css editor based on the WPF webbrowser control, so I need to be able to manipulate the css. I figure you can get the HtmlDOM from the Webbrowser.Document property, however i'm having some difficulty figuring out how to obtain and edit the document's css.
Upvotes: 0
Views: 1493
Reputation: 15271
Enumerate each element and gets the style sheet property, then use IHTMLStyleSheet::cssText to get or set the css.
Upvotes: 1