What is the WPF equivalant of DocumentCompleted?

江枫思渺然 提交于 2020-05-29 03:59:05

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/13078331/what-is-the-wpf-equivalant-of-documentcompleted

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!