简体   繁体   中英

What is the WPF equivalant of DocumentCompleted?

I checked. This question has not been asked yet. What is the WPF equivalant of DocumentCompleted for the WebBrowser class?

the DocumentCompleted method does not exist in WPF (at least not in the latest version of .NET and visual studio). So how do I do the same thing that one could do with Windows Forms in WPF?

The event that you are looking for is LoadCompleted.

Your can read more about it in .NET docs here http://msdn.microsoft.com/en-us/library/system.windows.controls.webbrowser.loadcompleted(v=vs.90).aspx

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM