Jump to content

2 posts in this topic

Posted

How do you stop a WebBrowser object in WPF?
The stop method is not an option becasue that is only available in windows forms.
[url="http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.stop.aspx"]http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.stop.aspx[/url]
And Dispose does not seem to be the answer either.

Share this post


Link to post
Share on other sites

Posted

Look at the comments in the System.Windows.Controls.WebBrowser MSDN page - there are instructions to get the native browser interface (IWebBrowser2), which can stop the page. It's not easy though :/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.