什么是DocumentCompleted的WPF等效项? [英] What is the WPF equivalant of DocumentCompleted?

查看:80
本文介绍了什么是DocumentCompleted的WPF等效项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我检查了。这个问题尚未被提出。对于WebBrowser类,DocumentCompleted的WPF等效项是什么?

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

WPF中不存在DocumentCompleted方法(至少在最新版本的.NET和Visual Studio中不存在) 。那么,我该如何做与WPF中Windows窗体可以做的相同的事情?

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?

推荐答案

正在寻找的事件是LoadCompleted。

The event that you are looking for is LoadCompleted.

您可以在.NET docs中的 http://msdn.microsoft.com/zh-cn/library/system.windows.controls.webbrowser.loadcompleted(v = vs.90).aspx

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

这篇关于什么是DocumentCompleted的WPF等效项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆