Freigeben über


WebView2.CoreWebView2 Property

Definition

The underlying CoreWebView2. Use this property to perform more operations on the WebView2 content than is exposed on the WebView2. This value is null until it is initialized and the object itself has undefined behaviour once the control is disposed. You can force the underlying CoreWebView2 to initialize via the EnsureCoreWebView2Async(CoreWebView2Environment, CoreWebView2ControllerOptions) method.

public Microsoft.Web.WebView2.Core.CoreWebView2 CoreWebView2 { get; }
[System.ComponentModel.Browsable(false)]
public Microsoft.Web.WebView2.Core.CoreWebView2 CoreWebView2 { get; }
member this.CoreWebView2 : Microsoft.Web.WebView2.Core.CoreWebView2
[<System.ComponentModel.Browsable(false)>]
member this.CoreWebView2 : Microsoft.Web.WebView2.Core.CoreWebView2
Public ReadOnly Property CoreWebView2 As CoreWebView2

Property Value

Attributes

Exceptions

Thrown if the calling thread isn't the thread which created this object (usually the UI thread). See InvokeRequired for more info.

Applies to