WebViewHandler<TJsInterop> Constructor

IMPORTANT! Please ensure that you call InitializeAsync() explicitly: wvh = new WebViewHandler(webView, null, null); _ = wvh.InitializeAsync();

public WebViewHandler(Microsoft.Web.WebView2.Wpf.WebView2 webViewBrowser, System.String webViewEnvironmentFolder, System.Object hostObject)

Parameters

webViewBrowser
WebView2 Browser instance

webViewEnvironmentFolder
hostObject
optional .NET callback object - can be null

See also:

Class WebViewHandler

© West Wind Technologies, 1996-2021 • Updated: 11/23/21
Comment or report problem with topic