WebViewControl.UnviewableContentIdentified Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An event that is triggered when the control attempts to download an unsupported file.
For more info, see Windows.Web.UI.IWebViewControl
// Register
event_token UnviewableContentIdentified(TypedEventHandler<IWebViewControl, WebViewControlUnviewableContentIdentifiedEventArgs const&> const& handler) const;
// Revoke with event_token
void UnviewableContentIdentified(event_token const* cookie) const;
// Revoke with event_revoker
WebViewControl::UnviewableContentIdentified_revoker UnviewableContentIdentified(auto_revoke_t, TypedEventHandler<IWebViewControl, WebViewControlUnviewableContentIdentifiedEventArgs const&> const& handler) const;
public event TypedEventHandler<IWebViewControl,WebViewControlUnviewableContentIdentifiedEventArgs> UnviewableContentIdentified;
function onUnviewableContentIdentified(eventArgs) { /* Your code */ }
webViewControl.addEventListener("unviewablecontentidentified", onUnviewableContentIdentified);
webViewControl.removeEventListener("unviewablecontentidentified", onUnviewableContentIdentified);
- or -
webViewControl.onunviewablecontentidentified = onUnviewableContentIdentified;
Public Custom Event UnviewableContentIdentified As TypedEventHandler(Of IWebViewControl, WebViewControlUnviewableContentIdentifiedEventArgs) Implements UnviewableContentIdentified