共用方式為


WebViewControl.ContentLoading 事件

定義

控制項開始載入新內容時所觸發的事件。

如需詳細資訊,請參閱 Windows.Web.UI.IWebViewControl

// Register
event_token ContentLoading(TypedEventHandler<IWebViewControl, WebViewControlContentLoadingEventArgs const&> const& handler) const;

// Revoke with event_token
void ContentLoading(event_token const* cookie) const;

// Revoke with event_revoker
WebViewControl::ContentLoading_revoker ContentLoading(auto_revoke_t, TypedEventHandler<IWebViewControl, WebViewControlContentLoadingEventArgs const&> const& handler) const;
public event TypedEventHandler<IWebViewControl,WebViewControlContentLoadingEventArgs> ContentLoading;
function onContentLoading(eventArgs) { /* Your code */ }
webViewControl.addEventListener("contentloading", onContentLoading);
webViewControl.removeEventListener("contentloading", onContentLoading);
- or -
webViewControl.oncontentloading = onContentLoading;
Public Custom Event ContentLoading As TypedEventHandler(Of IWebViewControl, WebViewControlContentLoadingEventArgs) Implements ContentLoading

事件類型

實作

適用於