

Navigates the WebView to the previous page in the navigation history. Get the downloaded Favicon image for the current page and copy it to the image stream. Gets a DevTools Protocol event receiver that allows you to subscribe to a DevToolsProtocol event. Runs JavaScript code from the javaScript parameter in the current top-level document rendered in the WebView. Runs an asynchronous DevToolsProtocol method for a specific session of an attached target.Ĭaptures an image of what WebView is displaying.Ĭlears all cached decisions to proceed with TLS certificate errors from the CoreWebView2.ServerCertificateErrorDetected event for all WebView2's sharing the same session.Ĭlears a host name mapping for local folder that was added by CoreWebView2.SetVirtualHostNameToFolderMapping. Runs an asynchronous DevToolsProtocol method.ĬallDevToolsProtocolMethodForSessionAsync The current text of the statusbar as defined by Window.statusbar.Īdds the provided host object to script running in the WebView with the specified name.Īdds the provided JavaScript to a list of scripts that should be run after the global object has been created, but before the HTML document has been parsed and before any other script included by the HTML document is run.Īdds a URI and resource context filter for the CoreWebView2.WebResourceRequested event. Gets the URI of the current top level document.

Gets the CoreWebView2Settings object contains various modifiable settings for the running WebView. The associated CoreWebView2Profile object of CoreWebView2. Set to true will mute this CoreWebView2, and set to false will unmute this CoreWebView2. Indicates whether all audio output from this CoreWebView2 is muted or not. true if audio is playing even if CoreWebView2.IsMuted is true. Indicates whether any audio output from this CoreWebView2 is playing. True if the default download dialog is currently open. This will be an empty string if the page does not have a Favicon. Get the Uri as a string of the current Favicon. Gets the title for the current top-level document.Įxposes the CoreWebView2Environment used to create this CoreWebView2.

The default download dialog margin relative to the WebView corner specified by CoreWebView2.DefaultDownloadDialogCornerAlignment. The default download dialog corner alignment. Gets the CoreWebView2CookieManager object associated with this CoreWebView2. Indicates if the WebView contains a fullscreen HTML element. True if the WebView is able to navigate to a next page in the navigation history. True if the WebView is able to navigate to a previous page in the navigation history. Gets the process ID of the browser process that hosts the WebView. WebView2 enables you to host web content using the latest Microsoft Edge browser and web technology.
