Naufal Fikri
Naufal Fikri

Reputation: 1131

Obtaining URL in WPF WebBrowser

I have been working in WPF web browsers lately but I can't seem to be able to get URIs out of it. (Unlike the WinForms version which has the WebBrowser.Url property). Is there any property that holds it either it's as Uri or String?

Upvotes: 9

Views: 17730

Answers (1)

Angelo Badellino
Angelo Badellino

Reputation: 2191

You have to refer to the WebBrowser.Source property that holds the Uri object associated to the current view. Take a look to Microsoft Documentation.

Upvotes: 12

Related Questions