C
C
crescent2020-07-24 15:56:25
WPF
crescent, 2020-07-24 15:56:25

How to load html element in wpf?

in WPF there is a WebBrowser element
, you need to insert a line with ready-made html code into
it. How to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
itgood, 2020-07-24
@crescent

string html = "<html>Code</html>";


            webs.NavigateToString(html);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question